This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Camel : Request –Reply using JMS Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "Camel : Request –Reply using JMS" Watch "Camel : Request –Reply using JMS" New topic
Author

Camel : Request –Reply using JMS

Mohammed Yousuff
Ranch Hand

Joined: Oct 17, 2007
Posts: 198
I am trying to send sterilized object to JMS and should get the response back using request-response EIP pattern. I am try to find some example which does the same….

I saw the example code for request-response in Apache camel site, but not able to understand what it really happening.

Below are the steps which I am try to do using Camel .

1. A Object should be send to JBOSS JMS queue (I configured JBOSS queue and able to post messages), but not sure how to send a object to the JMS Server.
2. Then need to set JMSReplyTo() and correlation ID and then sent to the MDB.
3. Once the MDB processed, it should return back to listener class.
4. The client should check the response asynchronous.

I would appreciate if you can share any on the steps which you may know. Thank you


My Thoughts : http://passion4java.blogspot.com
Try not to become a man of success but rather to become a man of value.
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3268

Hi Mohammed,

What code have you got to try and send the object?


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Camel : Request –Reply using JMS
 
Similar Threads
JMS request/ Response Model using MDB.
JMS question
how to use two execute queues for one servlet
How to Send JMS Messages using Apache Camel
JMS Load Balancing In Websphere V7.0