It looks like the Timer component [1] is sufficient for you. Use the option
"fixedRate=false" (the default option).

[1] http://camel.apache.org/timer.html

Best,
Christian

On Thu, Jan 12, 2012 at 10:10 PM, rifazjeoffrey <
[email protected]> wrote:

> We purely use Spring based routing so that option is out.
>
> As a side effect of using timer, I observed this.....suppose the 'period'
> of
> firing is 1sec and if that thread takes 10secs to complete its job. Right
> after this thread is done, I see all the other 10 firings of the same timer
> happen almost back-to-back (because the 10 tries didn't get a chance
> because
> of blocking call by first try).
>
> Is there a way to stop this behavior ?
>
> Hope you understood my question !
>
> Jeff
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Pass-variable-to-mybatis-component-tp5137772p5141007.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to