camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: RecipientList (for multicast) --> senderList to read from several sources
Date Fri, 09 Jul 2010 09:39:59 GMT
Can we change the from endpoints dynamically?

Willem

Claus Ibsen wrote:
> Hi
> 
> <route>
>   <from A>
>   <from B>
>   <from C>
>   <to bla>
> </route>
> 
> 
> On Fri, Jul 9, 2010 at 9:19 AM, Charles Moulliard <cmoulliard@gmail.com> wrote:
>> Can we do that in spring DSL using by example a list of endpoints ?
>>
>> e.g.
>>
>> <endpoint id="activemq1" uri="activemq1:queue:toto"/>
>> <endpoint id="activemq2" uri="activemq2:queue:toto"/>
>> <endpoint id="activemq3" uri="activemq3:queue:toto"/>
>>
>> <from ref="activemq1,activemq2,activemq3"/>
>>
>> OR
>>
>> a <endpoints> should be created ?
>>
>> <endpoints id="activemqList>
>> <endpoint id="activemq1" uri="activemq1:queue:toto"/>
>> <endpoint id="activemq2" uri="activemq2:queue:toto"/>
>> <endpoint id="activemq3" uri="activemq3:queue:toto"/>
>> </endpoint>
>>
>> <from ref="activemqList"/>
>>
>> Cheers,
>>
>> --
>> View this message in context: http://camel.465427.n5.nabble.com/RecipientList-for-multicast-senderList-to-read-from-several-sources-tp1045326p1045333.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
> 
> 
> 


Mime
View raw message