I am currently looking at using the new Websocket support in Spring to replace a custom server built on top of Netty. One of the things that I am having a problem with is getting spring to only send messages to a single user (based on a session).
During this testing it also appears that a websocket client, once authenticated, can subscribe to "/queue//" and get messages for other users. We are using the spring websocket client in an Eclipse RCP app to connect to the spring server.
Am I missing something here or are we just trying to use it in a way that is not intended?
What about user destinations and the @SendToUser annotation?