{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-framework/issues/743","labels_url":"https://api.github.com/repos/spring-projects/spring-framework/issues/743/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-framework/issues/743/comments","events_url":"https://api.github.com/repos/spring-projects/spring-framework/issues/743/events","html_url":"https://github.com/spring-projects/spring-framework/pull/743","id":58534237,"number":743,"title":"Add strategy for handling Stomp client errors (SPR-12732)","user":{"login":"jaymes-bearden","id":423664,"avatar_url":"https://avatars.githubusercontent.com/u/423664?v=3","gravatar_id":"","url":"https://api.github.com/users/jaymes-bearden","html_url":"https://github.com/jaymes-bearden","followers_url":"https://api.github.com/users/jaymes-bearden/followers","following_url":"https://api.github.com/users/jaymes-bearden/following{/other_user}","gists_url":"https://api.github.com/users/jaymes-bearden/gists{/gist_id}","starred_url":"https://api.github.com/users/jaymes-bearden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaymes-bearden/subscriptions","organizations_url":"https://api.github.com/users/jaymes-bearden/orgs","repos_url":"https://api.github.com/users/jaymes-bearden/repos","events_url":"https://api.github.com/users/jaymes-bearden/events{/privacy}","received_events_url":"https://api.github.com/users/jaymes-bearden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-23T01:52:59Z","updated_at":"2015-02-23T19:41:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spring-projects/spring-framework/pulls/743","html_url":"https://github.com/spring-projects/spring-framework/pull/743","diff_url":"https://github.com/spring-projects/spring-framework/pull/743.diff","patch_url":"https://github.com/spring-projects/spring-framework/pull/743.patch"},"body":"As mentioned in SPR-12732, the current implementation does not allow for sufficient information to be return in a STOMP ERROR frame to the client during errors resulting from either client message error parsing, or output channel processing (perhaps through the use of an output channel interceptor).\r\n\r\nThis commit enhances the StompSubProtocolHandler by adding the StompSubProtocolErrorHandler strategy with a default implementation matching the existing behavior.\r\n\r\nDevelopers will be able to configure the StompSubProtocolHandler with customized versions of the error handler strategy to delegate error handling behavior. For example, this can allow developers to have different behavior for different types of exceptions.\r\n\r\nI have signed and agree to the terms of the SpringSource Individual Contributor License Agreement.\r\n\r\nIssue: SPR-12732"},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-framework/issues/comments/75615912","html_url":"https://github.com/spring-projects/spring-framework/pull/743#issuecomment-75615912","issue_url":"https://api.github.com/repos/spring-projects/spring-framework/issues/743","id":75615912,"user":{"login":"datton","id":1479966,"avatar_url":"https://avatars.githubusercontent.com/u/1479966?v=3","gravatar_id":"","url":"https://api.github.com/users/datton","html_url":"https://github.com/datton","followers_url":"https://api.github.com/users/datton/followers","following_url":"https://api.github.com/users/datton/following{/other_user}","gists_url":"https://api.github.com/users/datton/gists{/gist_id}","starred_url":"https://api.github.com/users/datton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datton/subscriptions","organizations_url":"https://api.github.com/users/datton/orgs","repos_url":"https://api.github.com/users/datton/repos","events_url":"https://api.github.com/users/datton/events{/privacy}","received_events_url":"https://api.github.com/users/datton/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T19:41:13Z","updated_at":"2015-02-23T19:41:13Z","body":"Sounds good!\r\n\r\nI'll look for more exit points for error frames and code up those enhancements too. I'll see if I can address the other posted comments too."}}