camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Possibility of using inOut
Date Tue, 31 Aug 2010 11:05:20 GMT
Read chapter 7 in the Camel book how to do request/reply over JMS.

The 2nd route (amq:input) will "detect" the JMSReplyTo header
automatic and automatic return back the reply. So you don't have to do
that manually.
Just at the end of the routing the message is send back to the
JMSReplyTo destination.


On Tue, Aug 31, 2010 at 12:59 PM, Muhammad Ichsan <ichsan@gmail.com> wrote:
> Dear All
>
> I want to know if this is possible
>
> <route>
> <from uri="direct:begining" />
> <inOut uri="activemq:input?replyTo=output" />
> <to uri="file:///tmp/result.txt" />
> </route>
>
> <route>
> <from uri="activemq:input" />
> <to uri="bean:communicator?method=justSendNoWait" />
> </route>
>
> <route>
> <from uri="bean:communicator?method=readResponse" />
> <to uri="activemq:output" />
> </route>
>
> How to implement communicator then?
>
> Thanks
>
> --
> ~The best men are men who benefit to others
> http://michsan.web.id 一緒に勉強しましょう!
>
> Yang berkualitas memang beda rasanya!
> http://rizqi-cookies.com
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message