I have similar need - I need to audit the response, so I want to do it in
parallel to sending the response:
from("activemq:queue").setExchangePattern(ExchangePattern.InOut). 
        to("bean:foo"). 
        to("bean:audit"). 
        end(); 

For some reason I get the response only after audit complete. Ideally audit
service should be called directly (i.e not via jms, seda etc)

I think the key here is the enclosing ExchangePattern.InOut route.

Anyone have an idea how it could be done?

Thanks



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

Reply via email to