Hi You can use the wire tap to audit the response in parallel. http://camel.apache.org/wire-tap
On Wed, Apr 24, 2013 at 11:48 PM, morpheus <oren.beren...@gmail.com> wrote: > 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. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen