Thank you!
-Ursprüngliche Nachricht-
Von: Claus Ibsen
Gesendet: Freitag, 5. August 2022 10:48
An: users@camel.apache.org
Betreff: Re: Timer fixedRate does not work
You need to force timer to be synchronous mode with synchronous=true then it
will automatic block if something runs async
You need to force timer to be synchronous mode with synchronous=true then
it will automatic block if something runs async in the route.
On Fri, Aug 5, 2022 at 10:45 AM Claus Ibsen wrote:
> Hi
>
> delay is async, it's not blocking.
>
>
> On Fri, Aug 5, 2022 at 10:42 AM Simon Martinelli
> wrote:
Hi
delay is async, it's not blocking.
On Fri, Aug 5, 2022 at 10:42 AM Simon Martinelli
wrote:
> Hi again,
>
> I tried this:
>
> from("timer://atimer?fixedRate=true&period=1000")
> .routeId("atimer")
> .log("Before")
> .delay(5000)
> .log("After");
>
> No matter
Hi again,
I tried this:
from("timer://atimer?fixedRate=true&period=1000")
.routeId("atimer")
.log("Before")
.delay(5000)
.log("After");
No matter if I use fixedRate= true or false the output is in both cases the
same and there are multiple route instances running