And the Content Based Router
http://camel.apache.org/content-based-router.html

I suggest learning some of the EIP patterns
http://camel.apache.org/enterprise-integration-patterns.html

Maybe consider the excellent EIP book to learn the patterns
http://www.enterpriseintegrationpatterns.com/index.html


On Wed, Feb 10, 2010 at 3:22 AM, Willem Jiang <[email protected]> wrote:
> 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 ...
>>
>>
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to