Hi, You can consider to use recipient list[1]. [1] http://camel.apache.org/recipient-list.html
Willem NP-Hard wrote:
Hi, I'm trying to figure out how to set the destination of a route dynamically, i.e. I want to analyze an incoming message (say a file coming from a FileComponent endpoint) and based on that create a few endpoints which could be some list of File, JMS, TCP and other endpoints and then route the message to those endpoints. These endpoints cannot be determined statically since they are artifacts of the message content. Tried looking at interceptors and processors but can't quite see how to do it, thanks for any help. Apologies if this is a trivial question but I'm a newcomer to Camel ...
