<
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-
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.
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
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.
> > > >
> > >
> >
>
;
> > 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.
> > >
> >
>
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
; 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.
>
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
.to("mock:end")
;
}
};
}
}
> -Ursprüngliche Nachricht-----
> Von: raghavender.anth...@gmail.com
> [mailto:raghavender.anth...@gmail.com]
> Gesendet: Montag, 24. Okt
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
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
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.
>>
>
>
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.
>
-based-on-collection-values-tp5789157p5789165.html
Sent from the Camel - Users mailing list archive at Nabble.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.
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.
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
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.
>
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
19 matches
Mail list logo