Re: Stopping a route while in retry (how to interrupt the retry?) ... worked great before migration to "camel spring rabbitmq"

2024-05-07 Thread Claus Ibsen
Hi We can maybe also add on option to error handler to make this general https://issues.apache.org/jira/browse/CAMEL-20744 On Tue, May 7, 2024 at 5:03 PM Claus Ibsen wrote: > Hi > > You can try adding retryWhile to your onException and check if the route > status if its stopping, and then

Re: Stopping a route while in retry (how to interrupt the retry?) ... worked great before migration to "camel spring rabbitmq"

2024-05-07 Thread Claus Ibsen
Hi You can try adding retryWhile to your onException and check if the route status if its stopping, and then return false to break the retry sooner. On Tue, May 7, 2024 at 4:11 PM Speckels, Bert wrote: > I have created a simple example project which demonstrates the > different behaviouts of

AW: Stopping a route while in retry (how to interrupt the retry?) ... worked great before migration to "camel spring rabbitmq"

2024-05-07 Thread Speckels, Bert
I have created a simple example project which demonstrates the different behaviouts of "camel rabbitmq" and "camel spring rabbitmq": https://github.com/Skrrytch/camel-and-rabbitmq-issue This demonstrates both components so you can see the different behaviour. See readme.md for details like code