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