Hi Team,

I have been using Camel now since quite some time. I
feel useExponentialBackOff() method must be available with the placeholder
to switch it on and off with some external property.

Right now, I have made a workaround like this which works.

OnExceptionDefinition def = onException(MyException.class)
    .retryAttemptedLogLevel(LoggingLevel.TRACE)
    .logExhausted(true);

// External property
    if(props.getUseExponentialBackOff()) {
    def = def.useExponentialBackOff();
    }

I would like to contribute and add this method. How can I do that?


Regards,
Ashutosh Pandey

Reply via email to