There is question around session awareness for queue.
I would like to clarify if java sdk supports following scenario:
(Conditions: many clients and many services and one queue)
- client sends a message to a service via queue
- service receives it and process
- then service replies to a client and sends response message via queue
- client is listening for response. One it arrives, client processes it.
As far as I understand that this can be achieved with session aware queues.
A queue can be created with property setRequiresSession(true). Then a client specifies a session id for request message setSessionId(...). A Service should specify replay to session id property in response message setReplyToSessionId(...).
I though that this should guaranty that a client will receive that response message which was sent with corresponded session id from service.
But I can see different behavior in my application. That a message is delivered to any client .
Does this scenario not supported. Or I missed something to do? Any existing examples?
There is question around session awareness for queue.
I would like to clarify if java sdk supports following scenario:
(Conditions: many clients and many services and one queue)
As far as I understand that this can be achieved with session aware queues.
A queue can be created with property setRequiresSession(true). Then a client specifies a session id for request message setSessionId(...). A Service should specify replay to session id property in response message setReplyToSessionId(...).
I though that this should guaranty that a client will receive that response message which was sent with corresponded session id from service.
But I can see different behavior in my application. That a message is delivered to any client .
Does this scenario not supported. Or I missed something to do? Any existing examples?