Hi

Yeah you are welcome to contribute. We can use it for
useCollisionAvoidance and useOriginalMessage as well. There is several
places in the code this need to be updated so its not a trivial
change.

You can log a JIRA and comment you work on a patch
http://camel.apache.org/contributing

A github PR is the best but a old fashioned .patch file is also possible.

On Sat, Jun 3, 2017 at 8:48 AM, Ashutosh Pandey <ashutosh1...@gmail.com> wrote:
> 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



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to