{"action":"created","issue":{"url":"https://api.github.com/repos/zyro23/grails-spring-websocket/issues/10","labels_url":"https://api.github.com/repos/zyro23/grails-spring-websocket/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/zyro23/grails-spring-websocket/issues/10/comments","events_url":"https://api.github.com/repos/zyro23/grails-spring-websocket/issues/10/events","html_url":"https://github.com/zyro23/grails-spring-websocket/issues/10","id":41992439,"number":10,"title":"support WebSocket Scope released in Spring 4.1","user":{"login":"xmlking","id":627951,"avatar_url":"https://avatars.githubusercontent.com/u/627951?v=3","gravatar_id":"","url":"https://api.github.com/users/xmlking","html_url":"https://github.com/xmlking","followers_url":"https://api.github.com/users/xmlking/followers","following_url":"https://api.github.com/users/xmlking/following{/other_user}","gists_url":"https://api.github.com/users/xmlking/gists{/gist_id}","starred_url":"https://api.github.com/users/xmlking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmlking/subscriptions","organizations_url":"https://api.github.com/users/xmlking/orgs","repos_url":"https://api.github.com/users/xmlking/repos","events_url":"https://api.github.com/users/xmlking/events{/privacy}","received_events_url":"https://api.github.com/users/xmlking/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-09-04T22:17:32Z","updated_at":"2015-02-27T15:25:35Z","closed_at":"2015-02-27T15:25:35Z","body":"Looking for session scope support for storing WebSocket's user session data similar to HTTP session.\r\nSaw `WebSocket Scope` in Spring 4.1 release notes. Hope it is some kind of HTTPSession scope for WebSockets. \r\n"},"comment":{"url":"https://api.github.com/repos/zyro23/grails-spring-websocket/issues/comments/76411416","html_url":"https://github.com/zyro23/grails-spring-websocket/issues/10#issuecomment-76411416","issue_url":"https://api.github.com/repos/zyro23/grails-spring-websocket/issues/10","id":76411416,"user":{"login":"zyro23","id":1370899,"avatar_url":"https://avatars.githubusercontent.com/u/1370899?v=3","gravatar_id":"","url":"https://api.github.com/users/zyro23","html_url":"https://github.com/zyro23","followers_url":"https://api.github.com/users/zyro23/followers","following_url":"https://api.github.com/users/zyro23/following{/other_user}","gists_url":"https://api.github.com/users/zyro23/gists{/gist_id}","starred_url":"https://api.github.com/users/zyro23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyro23/subscriptions","organizations_url":"https://api.github.com/users/zyro23/orgs","repos_url":"https://api.github.com/users/zyro23/repos","events_url":"https://api.github.com/users/zyro23/events{/privacy}","received_events_url":"https://api.github.com/users/zyro23/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T15:25:34Z","updated_at":"2015-02-27T15:25:34Z","body":"2.0.0.M1 working together with grails-3.0.0.m2 has been published to bintray. spring version is 4.1.5 so all the new 4.1 goodies are included/available.\r\ncurrently not planning to provide a trait to make websocket session/request etc. available as \"properties\" because the request (message) as well as the session can be resolved as handler method arguments (e.g. via `SimpMessageHeaderAccessor` and/or `StompHeaderAccessor`).\r\n```groovy\r\n@MessageMapping(\"/foo/bar\")\r\nvoid fooBar(SimpMessageHeaderAccessor smha) {\r\n    def sessionId = smha.sessionId\r\n    def sessionAttrs = smha.sessionAttributes // Map<String, Object>\r\n    ...\r\n}\r\n```"}}