camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serega <>
Subject Re: Custom Router
Date Fri, 22 Oct 2010 13:58:57 GMT

Claus Ibsen-2 wrote:
> On Fri, Oct 22, 2010 at 3:42 PM, serega <>
> wrote:
>> So, how does exactly Dynamic Router work and why does it have "to return
>> null
>> to indicate the end"?
>> Suppose my Dynamic Router returns "file://some_directory". What happens
>> with
>> the message after the call returns?
> It goes back to the route until it returns null.

Then, perhaps the Dynamic Router is not exactly what I need. I need the
message to be send
to the specified destination. I guess, I can keep a state in the message and
return null in the second call.
What is the overhead of this loop?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message