Hi, Current Camel websocket manage the web socket connection itself with the MemoryWebsocketStore. I'm not sure what kind of resource you need to manage yourself.
You should be able to know if the client web socket disconnect if you can pass the customer NodeSynchronization into the WebSocketEndpoint. As current Camel WebSocket doesn't expose the API, you need to hack the code to pass the reference. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Saturday, January 5, 2013 at 10:54 AM, aoisagi wrote: > Hi, I just started playing around with camel-websocket, however, there > doesn't seem to be a trigger when the client quit the browser. Is there some > kind of mechanism to detect disconnected socket so I can recycle some > resources that's dedicated to that socket previously? Thanks. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-websocket-disconnect-trigger-tp5724934.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).