An option is to use a ProducerTemplate from your processor, have a look here - http://camel.apache.org/producertemplate.html
On Thu, Oct 14, 2010 at 1:52 PM, serega <[email protected]> wrote: > > Camel documentation shows how to implement > http://camel.apache.org/message-router.html Message Router pattern . In my > case the given examples are not sufficient. I have tens, and may be hundreds > of out endpoints, and complicated routing logic that is dynamic and can > change at runtime. The Processor interface seems like the natural way of > processing messages, but how do I specify the out endpoint in the Processor? > Can someone give me the direction how to solve this problem with Camel? > > Thanks, > Sergey > -- > View this message in context: > http://camel.465427.n5.nabble.com/Custom-Router-tp3212534p3212534.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
