On Wed, Aug 19, 2009 at 8:52 PM, Frederic Tuttle<[email protected]> wrote: > Greetings, > > I would like to create and send a one-way message to a JBI endpoint from a > custom Processor in Camel 1.6.1. This will be triggered by a in-out > exchange originating from servicemix-cxf-bc. > Is this possible ? >
Yes you can use the ProducerTemplate to send an new message to some endpoint of choice. See more here: http://camel.apache.org/how-do-i-write-a-custom-processor-which-sends-multiple-messages.html > I am resorting to this idea because I was not successful at wiretapping an > in-out JBI exchange and sending it to an in-only JBI endpoint besides its > original destination. > In Camel 2.0 you can use the .wireTap and it will automatic be a new InOnly message being fired async from the original route. http://camel.apache.org/wire-tap.html That would allow you to do that without using a custom processor. However with your custom processor you got all control in your hands as you use java code to do it yourself :) > Thanks. > > -FT > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
