Re: SupervisingRouterController not working as expectation (ApacheCamel:3.7.0)

2021-01-15 Thread Claus Ibsen
Hi If you want to retry the kubernetes endpoint, then you can use For example to try 10 times errorHandler().maximumRedeliveries(10); See more at https://camel.apache.org/manual/latest/defaulterrorhandler.html https://camel.apache.org/components/latest/eips/dead-letter-channel.html On Fri, Jan

Re: SupervisingRouterController not working as expectation (ApacheCamel:3.7.0)

2021-01-15 Thread Imran Raza Khan
@Claus Ibsen Thanks for clarification, For timer I agree as it already started so SupervisingRouterController will not take care, but for kubernetes route is failing at connection level but still SupervisingRouterController is not retrying, But SupervisingRouterController retry work for my third

Re: SupervisingRouterController not working as expectation (ApacheCamel:3.7.0)

2021-01-14 Thread Claus Ibsen
Hi Supervising route controller is ONLY for starting the route, which will be errors during startup of the route which mostly often are in the consumer, but can be in a producer if it does some start/init logic that fails. And as you use a timer component then that startup perfectly. When you hav

SupervisingRouterController not working as expectation (ApacheCamel:3.7.0)

2021-01-14 Thread Imran Raza Khan
I have quarkus application with camel route like below, its not working as expected or i may have different understanding from("timer://ipc?repeatCount=1&delay=6") .routeId("timer-ipc") .to("kubernetes-secrets:///?kubernetesClient=#kubernetesClient&operation=getSecret") .setHea