aspose file tools*
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
JavaRanch » Java Forums » Products » Other Open Source Projects
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: 3274
    
    5

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