camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: What is difference between redeliverDelay() and redeliveryDelay() ?
Date Sat, 03 Apr 2010 01:56:27 GMT

The redeliverDelay should be deprecated as it's a typo, if you take a 
look at the code, they are doing the same thing.

So you just need to use  redeliveryDelay(long delay).


Dragisa Krsmanovic wrote:
> In OnExceptionDefinition there are two methods with very similar name:
> redeliverDelay and redeliveryDelay.
> This is what javadoc says:
> redeliverDelay(long delay) : Sets the delay
> redeliveryDelay(long delay) : Sets the fixed delay between redeliveries
> Which one should I use ?
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> This email is confidential to the intended recipient. If you have received it in error,
please notify the sender and delete it from your
> system. Any unauthorized use, disclosure or copying is not permitted. The views or opinions
presented are solely those of the sender and do
> not necessarily represent those of Public Library of Science unless otherwise specifically
stated. Please note that neither Public Library
> of Science nor any of its agents accept any responsibility for any viruses that may be
contained in this e-mail or its attachments and it
> is your responsibility to scan the e-mail and attachments (if any).

View raw message