camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: DynamicRouter vs RoutingSlip
Date Mon, 22 Aug 2016 18:59:44 GMT
Routing slip is calculated once and is therefore static.

Dynamic route is evaluated after each step and is therefore dynamic.
It keeps going on until the evaluation returns null / empty value.

On Mon, Aug 22, 2016 at 8:42 PM, Rajith Muditha Attapattu
<rajith77@gmail.com> wrote:
> The routing slip method relies on a header to get the sequence, where
> as with the DynamicRouter gives more flexibility by allowing a bean to
> calculate the next step.
> Apart from that are there any differences?
>
> On Mon, Aug 22, 2016 at 2:30 PM, Rajith Muditha Attapattu
> <rajith77@gmail.com> wrote:
>> On the surface both look very similar.
>> Whats the difference between the two? and when would you choose one
>> over the other?
>>
>> Regards,
>>
>> Rajith Muditha Attapattu
>
>
>
> --
> Regards,
>
> Rajith Muditha Attapattu



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message