Re: AW: Dynamic routing based on collection values

2016-10-29 Thread Brad Johnson
< raghavender.anth...@gmail.com> wrote: > Thanks a ton everyone, I was able to achieve it by using split and by > writing > a custom bean/method. > > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Dynamic-routing-based-on-collection-

Re: Dynamic routing based on collection values

2016-10-27 Thread catequil
Here is another option to look at that takes a little bit different approach. -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-routing-based-on-collection-values-tp5789157p5789362.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: AW: Dynamic routing based on collection values

2016-10-26 Thread raghavender.anth...@gmail.com
Thanks a ton everyone, I was able to achieve it by using split and by writing a custom bean/method. -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-routing-based-on-collection-values-tp5789157p5789282.html Sent from the Camel - Users mailing list archive

Re: AW: Dynamic routing based on collection values

2016-10-24 Thread Steve973
t; > I've written this free hand so while the ideas are correct I can't > vouch > > > for the correctness of the code itself. > > > > > > > > > > > > > > > > > > On Mon, Oct 24, 2016 at 8:04 AM, raghavender.anth...@gmail.com < > > > raghavender.anth...@gmail.com> wrote: > > > > > > > Thanks a lot for the response. This seems like useful, I'll give out > a > > > try > > > > and will update you accordingly. > > > > > > > > Best, > > > > Raghavender Anthwar > > > > > > > > > > > > > > > > -- > > > > View this message in context: http://camel.465427.n5.nabble. > > > > com/Dynamic-routing-based-on-collection-values- > tp5789157p5789179.html > > > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > > > > > > >

Re: AW: Dynamic routing based on collection values

2016-10-24 Thread Brad Johnson
; > > raghavender.anth...@gmail.com> wrote: > > > > > Thanks a lot for the response. This seems like useful, I'll give out a > > try > > > and will update you accordingly. > > > > > > Best, > > > Raghavender Anthwar > > > > > > > > > > > > -- > > > View this message in context: http://camel.465427.n5.nabble. > > > com/Dynamic-routing-based-on-collection-values-tp5789157p5789179.html > > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > > >

Re: AW: Dynamic routing based on collection values

2016-10-24 Thread Steve973
rectness of the code itself. > > > > > > On Mon, Oct 24, 2016 at 8:04 AM, raghavender.anth...@gmail.com < > raghavender.anth...@gmail.com> wrote: > > > Thanks a lot for the response. This seems like useful, I'll give out a > try > > and will update

Re: AW: Dynamic routing based on collection values

2016-10-24 Thread Brad Johnson
; View this message in context: http://camel.465427.n5.nabble. > com/Dynamic-routing-based-on-collection-values-tp5789157p5789179.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: AW: Dynamic routing based on collection values

2016-10-24 Thread raghavender.anth...@gmail.com
Thanks a lot for the response. This seems like useful, I'll give out a try and will update you accordingly. Best, Raghavender Anthwar -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-routing-based-on-collection-values-tp5789157p5789179.html Sent from the Camel

AW: Dynamic routing based on collection values

2016-10-24 Thread jhm
.to("mock:end") ; } }; } } > -Ursprüngliche Nachricht----- > Von: raghavender.anth...@gmail.com > [mailto:raghavender.anth...@gmail.com] > Gesendet: Montag, 24. Okt

Re: Dynamic routing based on collection values

2016-10-24 Thread Steve973
s will tr the split method. Is there any example available on the web > to > split the collection? I searched but couldn't find much help. > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Dynamic-routing-based-on-collection-values-tp5789157p5

Re: Dynamic routing based on collection values

2016-10-24 Thread raghavender.anth...@gmail.com
Thanks will tr the split method. Is there any example available on the web to split the collection? I searched but couldn't find much help. -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-routing-based-on-collection-values-tp5789157p5789169.html Sent from the Camel

Re: Dynamic routing based on collection values

2016-10-24 Thread Steve973
ems it send the >> same >> copy of the message to all routes. >> >> I'm looking for sending each value of the map to a different router based >> on >> the key. >> >> Thank you. >> >> >> >> -- >> View this message in context: http://camel.465427.n5.nabble. >> com/Dynamic-routing-based-on-collection-values-tp5789157p5789165.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> > >

Re: Dynamic routing based on collection values

2016-10-24 Thread Steve973
a different router based > on > the key. > > Thank you. > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Dynamic-routing-based-on-collection-values-tp5789157p5789165.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: Dynamic routing based on collection values

2016-10-24 Thread raghavender.anth...@gmail.com
-based-on-collection-values-tp5789157p5789165.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: AW: Dynamic routing based on collection values

2016-10-24 Thread raghavender.anth...@gmail.com
this message in context: http://camel.465427.n5.nabble.com/Dynamic-routing-based-on-collection-values-tp5789157p5789163.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Dynamic routing based on collection values

2016-10-24 Thread raghavender.anth...@gmail.com
so looking for specific example. Thanks again. Best, Raghu -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-routing-based-on-collection-values-tp5789157p5789162.html Sent from the Camel - Users mailing list archive at Nabble.com.

AW: Dynamic routing based on collection values

2016-10-24 Thread jhm
nder.anth...@gmail.com] > Gesendet: Montag, 24. Oktober 2016 09:48 > An: users@camel.apache.org > Betreff: Dynamic routing based on collection values > > Hello All, > > Can someone help me with a solution for this problem: > > I want to route to different destinations ba

Re: Dynamic routing based on collection values

2016-10-24 Thread ravi narayanan
different route. Like: > > If (Key == "Hyderabad") then route to Hyderabad uri etc. > > Your help is much appreciated, Thank you. > > Best, > Raghavender Anthwar > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Dynamic-routing-based-on-collection-values-tp5789157.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Dynamic routing based on collection values

2016-10-24 Thread raghavender.anth...@gmail.com
ponding value list to a different route. Like: If (Key == "Hyderabad") then route to Hyderabad uri etc. Your help is much appreciated, Thank you. Best, Raghavender Anthwar -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-routing-based-on-collection-val