Re: HA follow-up: can I use a different Session than the Queue's ?

2024-02-02 Thread Justin Bertram
> Can I make a whole new Connection/Session/Producer and send to the replyQueue using the new Producer, even though it does not use the Session to which the replyQueue belongs? Yes. That shouldn't be a problem. The session is only relevant when you're deleting temporary destinations. Justin On

HA follow-up: can I use a different Session than the Queue's ?

2024-01-30 Thread John Lilley
Looking at this more closely, I’m unsure that can re-create the Connection/Session in the reply-to case. In our onMessage() handler, the reply-to queue is fetched from the Message var replyQueue = (Queue)message.getJMSReplyTo(); And presumably it “belongs to” the same session as the received mes