{"action":"created","issue":{"url":"https://api.github.com/repos/MarcGiffing/wicket-spring-boot/issues/37","repository_url":"https://api.github.com/repos/MarcGiffing/wicket-spring-boot","labels_url":"https://api.github.com/repos/MarcGiffing/wicket-spring-boot/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/MarcGiffing/wicket-spring-boot/issues/37/comments","events_url":"https://api.github.com/repos/MarcGiffing/wicket-spring-boot/issues/37/events","html_url":"https://github.com/MarcGiffing/wicket-spring-boot/issues/37","id":128353817,"number":37,"title":"Wicket Websocket Autoconfiguration","user":{"login":"MarcGiffing","id":3609928,"avatar_url":"https://avatars.githubusercontent.com/u/3609928?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcGiffing","html_url":"https://github.com/MarcGiffing","followers_url":"https://api.github.com/users/MarcGiffing/followers","following_url":"https://api.github.com/users/MarcGiffing/following{/other_user}","gists_url":"https://api.github.com/users/MarcGiffing/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcGiffing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcGiffing/subscriptions","organizations_url":"https://api.github.com/users/MarcGiffing/orgs","repos_url":"https://api.github.com/users/MarcGiffing/repos","events_url":"https://api.github.com/users/MarcGiffing/events{/privacy}","received_events_url":"https://api.github.com/users/MarcGiffing/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MarcGiffing/wicket-spring-boot/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/MarcGiffing/wicket-spring-boot/milestones/8","html_url":"https://github.com/MarcGiffing/wicket-spring-boot/milestones/0.0.8","labels_url":"https://api.github.com/repos/MarcGiffing/wicket-spring-boot/milestones/8/labels","id":1504699,"number":8,"title":"0.0.8","description":"","creator":{"login":"MarcGiffing","id":3609928,"avatar_url":"https://avatars.githubusercontent.com/u/3609928?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcGiffing","html_url":"https://github.com/MarcGiffing","followers_url":"https://api.github.com/users/MarcGiffing/followers","following_url":"https://api.github.com/users/MarcGiffing/following{/other_user}","gists_url":"https://api.github.com/users/MarcGiffing/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcGiffing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcGiffing/subscriptions","organizations_url":"https://api.github.com/users/MarcGiffing/orgs","repos_url":"https://api.github.com/users/MarcGiffing/repos","events_url":"https://api.github.com/users/MarcGiffing/events{/privacy}","received_events_url":"https://api.github.com/users/MarcGiffing/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":4,"state":"closed","created_at":"2016-01-13T15:41:11Z","updated_at":"2016-01-24T12:53:59Z","due_on":null,"closed_at":"2016-01-24T12:53:59Z"},"comments":5,"created_at":"2016-01-23T21:28:22Z","updated_at":"2016-02-04T15:49:08Z","closed_at":"2016-01-24T09:48:26Z","body":""},"comment":{"url":"https://api.github.com/repos/MarcGiffing/wicket-spring-boot/issues/comments/179910454","html_url":"https://github.com/MarcGiffing/wicket-spring-boot/issues/37#issuecomment-179910454","issue_url":"https://api.github.com/repos/MarcGiffing/wicket-spring-boot/issues/37","id":179910454,"user":{"login":"gishi-yama","id":1794095,"avatar_url":"https://avatars.githubusercontent.com/u/1794095?v=3","gravatar_id":"","url":"https://api.github.com/users/gishi-yama","html_url":"https://github.com/gishi-yama","followers_url":"https://api.github.com/users/gishi-yama/followers","following_url":"https://api.github.com/users/gishi-yama/following{/other_user}","gists_url":"https://api.github.com/users/gishi-yama/gists{/gist_id}","starred_url":"https://api.github.com/users/gishi-yama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gishi-yama/subscriptions","organizations_url":"https://api.github.com/users/gishi-yama/orgs","repos_url":"https://api.github.com/users/gishi-yama/repos","events_url":"https://api.github.com/users/gishi-yama/events{/privacy}","received_events_url":"https://api.github.com/users/gishi-yama/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T15:49:08Z","updated_at":"2016-02-04T15:49:08Z","body":"I got a clue.\r\n\r\nThe same problem has happened in wicket with normal spring-boot application.\r\n\r\nI changed wicket-spring-boot-starter-example use [krasa/krasa-wicket-websocket-quickstart](/krasa/krasa-wicket-websocket-quickstart) as a reference. Herewith `Wicket.WebSocket.send(\"test\")` is working.\r\n\r\nsteps:\r\n\r\n1. Add spring-boot-starter-websocket dependency\r\n2. Add ApplicationListener and IWebSocketPushMessage like of [krasa-wicket-websocket-quickstart](/krasa/krasa-wicket-websocket-quickstart/tree/master/src/main/java/krasa/wicket/websocket/service)\r\n3. Attach `@EnableWebSocket` annotation to WicketApplication\r\n4. Define WebSocketConfigurer interface to WicketApplication, and override registerWebSocketHandlers method\r\n5. Define beans of WicketServerEndpointConfig and ServerEndpointExporter"}}