posted 21 years ago
I need help in a JMS design question.
I�ve more than one application (say App1 and App2) sending messages to a Send Q, which will be picked by MDB in the container. Both App1 and App2 will set the setJMSReplyTo() in the message by passing a Receive Q. Both App1 and App2 waits for the ACK message from the Receive Q by calling setMessageListener() method on the QueueReceiver by passing this object to it. After completing the work MDB puts the ACK message into the Receive Q.
In the above scenario, do I need to use message selector so that App1 ACK messages will go to App1 and App2 ACK messages will go to App2? Or by default JMS knows (since it has a reference to App1 and App2) to send ACK messages appropriately between App1 and App2.
Thanks
-Mat