This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Camel : Request –Reply using JMS" Watch "Camel : Request –Reply using JMS" New topic

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 :
Try not to become a man of success but rather to become a man of value.
Martijn Verburg

Joined: Jun 24, 2003
Posts: 3275

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:
subject: Camel : Request –Reply using JMS
It's not a secret anymore!