Hi

Do you mean only 1 run in total, then you can use repeatCount=1

The Timer is a JDK timer so it has fixed rate | fixed interval. So set
fixedRate=true if you want to sleep 90000 between the runs, regardless for
how long time a task takes.


On Fri, Aug 5, 2022 at 9:03 AM Simon Martinelli <si...@martinelli.ch> wrote:

> Hi,
>
> I use a timer:// and must make sure that the route only runs once even if
> it takes longer than the period.
>
> I tried:
> fixedRate=false&period=90000
>
> But Camel starts a second route if the first run is not finished.
>
> Thanks,
> Simon
>


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

Reply via email to