Apr 29th, 2009, 10:03 AM
JMSTemplate Synchronous Exchange Tutorial
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.
May 12th, 2009, 03:30 AM
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.
Tags for this Thread