...
- how many times a message is attempted to be redelivered before it is considered a failure and sent to the dead letter channel
- the initial redelivery timeout
- whether or not exponential backoff is used (i.e. the time between retries increases using a backoff multiplier)
- whether to use collision avoidence avoidance to add some randomness to the timings
Once all attempts at redelivering the message fails then the message is forwarded to the dead letter queue.
Redelivery default values
The default redeliver policy will use the following values:
- maximumRedeliveries=6
- initialRedeliveryDelay=1000L (1 second)
- And the backoff and collision avoidance is turned off.
Redelivery header
When a message is redelivered the DeadLetterChannel will append a customizable header to the message to indicate how many times its been redelivered. The default value is org.apache.camel.redeliveryCount.
...