Results 1 to 2 of 2

Thread: JMSTemplate Synchronous Exchange Tutorial

  1. #1
    Join Date
    Apr 2009
    Posts
    5

    Default 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

  2. #2
    Join Date
    May 2009
    Posts
    1

    Default

    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
  •