-
Apr 29th, 2009, 10:03 AM
#1
JMSTemplate Synchronous Exchange Tutorial
Hi,
I have a bean that is communicating directly with a JMS Queue and know that it isn't the best way to do that communication. It seems that while an asynchronous communication would be easy, a tutorial on synchronous jms exchanges using the JMS template would be a benefit to anyone else in my predicament.
Being pretty new to Spring I have searched across the Remoting and JMS threads and just found bits and pieces and also couldn't find anything in terms of a tutorial in the main Spring docs on how to do this. Does anyone have a tutorial on how to get this done? If anyone of the experts can give me some guidance on this matter I will write the end to end tutorial and submit it for everyone else to use.
Thanks,
G
-
May 12th, 2009, 03:30 AM
#2
Its actually prett simple.
in the producer section, create a temporary queue and set the replyTo path to this temporary queue.
Wait for this temporary queue to get the acknowledgment from the consumer.
Thanks,
vivek
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules