> I am using swiftmq 1.1. I am currently having problems
> with the TopicRequestor.request function. I have 2
> threads calling TopicRequestor.request for the same
> topic at the same time. The 2nd thread will receive
> the reply returned for the 1 st thread. Is there any
> way that I can enforce the 2nd thread's
> TopicRequestor.request to only receive its own reply
> and not the reply for the first thread?

The TopicRequestor does nothing else than creating a temp topic (which in 
fact is a unique temp queue) and sets it as JMSReplyTo. If your 
requesting service sends the reply correctly to the JMSReplyTo 
destination, it should work. BTW, you must use different sessions for 
TopicRequestors in different threads.

-- 
Andreas Mueller, [EMAIL PROTECTED], IIT GmbH, Bremen/Germany, http://www.iit.de
SwiftMQ, JMS Enterprise Messaging System, http://www.swiftmq.com


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/




Reply via email to