AW: Timer fixedRate does not work

2022-08-05 Thread Simon Martinelli
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

Re: Timer fixedRate does not work

2022-08-05 Thread Claus Ibsen
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:

Re: Timer fixedRate does not work

2022-08-05 Thread Claus Ibsen
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

Timer fixedRate does not work

2022-08-05 Thread Simon Martinelli
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