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: Dynamic router making request and reply messages???
Date Wed, 03 Aug 2011 19:14:50 GMT
Hi



On Wed, Aug 3, 2011 at 8:53 PM, dead_devil_66 <deathdevil66@hotmail.com> wrote:
> Greetings.
>
> This is the code for the router:
>
> http://pastie.org/2315635
>
> This is the code for the dynamic router:
>
> http://pastie.org/2315666
>
> The problem is that, everytime i send a message that needs to go throught
> the dynamic router, the messages that are put in the queue i request, in the
> header, are being associated with a temporary queue
>
> [aultMessageListenerContainer-1] JmsProducer                    INFO  Using
> JmsReplyManager:
> org.apache.camel.component.jms.reply.TemporaryQueueReplyManager@16d03ba to
> process replies from temporary queue with 1 concurrent consumers.
>
> http://i53.tinypic.com/s2wua9.png
>
> So...after some seconds, the camel engine throws an error like this:
>
> http://pastie.org/2315724
>
>
> How do i make the messages to be delivered, without expecting any response?
>

Use the event message EIP
http://camel.apache.org/event-message.html

eg the message exchange pattern on the Camel Exchange should be set to InOnly.
Then you can deliver the message to the JMS endpoint, without
expecting any response

> --
> View this message in context: http://camel.465427.n5.nabble.com/Dynamic-router-making-request-and-reply-messages-tp4663542p4663542.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message