camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton <>
Subject Re: Random delay
Date Sat, 28 May 2016 16:44:37 GMT
Thanks Jan

On Sat, May 28, 2016 at 11:56 AM, Jan Matèrne (jhm) <>

> lists at the end an example which
> delegates to a method computing the delay-time.

My apologies - I did not clearly describe what I am trying to achieve. I am
trying to achieve a different delay each time a message goes through the
route. Using the approach you desribed will create one delay time for each
message. Even if the method produces a random result, it is only called
when the route is created, so the same delay value is used for all messages.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message