camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "valerian.merkling" <valerian.merkl...@capgemini.com>
Subject Re: 'fire and forge' from InOut exchange
Date Tue, 23 Apr 2013 11:14:39 GMT
Hi ! 

I'm not sure to understand what you mean


brnzn1 wrote
> and send the response message to the replyTo queue without waiting for
> nonBlocking to complete. 

If 'nonBlocking' is not over, how can you have it's response ? 

Anyway I think you can do this : 

from("activemq:queue1").setExchangePattern(ExchangePattern.InOut).
        to("bean:foo").
        to("activemq:queue2").
        end(); 


from("activemq:queue2").setExchangePattern(ExchangePattern.InOut).
        to("bean:nonBlocking").
        end(); 


And I think your bean will be executed on another thread, and not send any
response.



--
View this message in context: http://camel.465427.n5.nabble.com/fire-and-forge-from-InOut-exchange-tp5731352p5731353.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message