Hi You can use a producer template to send a message to any endpoint. And then create a "child route" using a direct/seda endpoint and use the produce template to send the message to this route. And in your custom processor, you can just wait until they are complete before existing the method.
On Wed, Aug 29, 2012 at 6:30 AM, sushil_vsk5 <sushil_v...@yahoo.co.in> wrote: > Hello: > Instead of using the Splitter, I would like to have a custom processor / > bean which should be able to sequentially create sub exchanges and send them > to a child route. It should wait for the execution of the route to finish > before it sends the next exchange. How best do I implement this? > Regards, > Sushil > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Custom-Processor-for-branching-into-multiple-Sub-Exchanges-tp5718223.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen