Thanks for the responses.

The Recipient List seems to be what I need.

The Content Based Router still has static endpoints (just based on what I
read
in the link below) with the routing among them being dynamic
so it does not meet my needs (I need to dynamically create the endpoints).



Claus Ibsen-2 wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-to-set-dynamic-destination-endpoint---tp27525068p27535397.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to