Le 30/05/2014 15:51, Skywalker a écrit : >>>> I don't get it... If your server picks a random session to send the >>>> response, why are you complaining it does not send the response to a >>>> specific session ? > Actually , it is not a complaint,
Sorry, bad choice of words from my part. > I was trying to give a background > information to the problem. What I really want is a way to ensure the sender > gets response to its request. Get it now. If you server receives a message, this message will be associated with a session. If you have changed the session before the handler (ie, in a filter), then the messageReceived( session, message ) will not allow you to send back the response to the correct session. Question : why don't you store the original session into your message, so that you can send it back to the emitter ?
