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: route debugging
Date Mon, 11 Jan 2010 11:29:35 GMT
On Mon, Jan 11, 2010 at 12:17 PM, yaog <yairogen@gmail.com> wrote:
>
> Maybe I am missing something? I know for sure that Camel creates for me a
> temp reply queue. as far as I understand from the documentation, the fact
> that my listeners attempts a return of an Object should cause Camel to send
> that response via the reply queue.
>
> Where am I wrong?

You need a 2nd route to consume and return that reply on the temp
queue, such as shown below:

<route>
   <from uri="jms:compB"/>
   <!-- do something with message, here we just return a fixed message -->
   <transform><constant>Hi from B</constant></transform>
</route>



> --
> View this message in context: http://old.nabble.com/route-debugging-tp27107483p27108985.html
> Sent from the Camel - Users mailing list archive at Nabble.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