camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashutosh Pandey <ashutosh1...@gmail.com>
Subject useExponentialBackOff() method must be available with placeholder
Date Sat, 03 Jun 2017 06:48:05 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message