Hallo (again)

In Camel Spring RabbitMQ we found the following component option:

option: maximumRetryAttempts (consumer)
description: How many times a Rabbitmq consumer will retry the same message if 
Camel failed to process the message.
default: 5
type: int

Based on the description, I would actually have expected that this value would 
have to be set to 0 
if we don't want any retries. But that is apparently not the case: With value 
0, retries still occur (3 times?).
Only when I set maximumRetryAttempts to 1 no retries will be carried out in the 
event of an error.

Is this the expected behavior?

This option maps directly to 'maxAttempts' of the Spring Framework, right?! 
In that case IMHO 'attempts' (including first processing) and "retryAttempts' 
(exluding first processing) have
different meanings ... but I am not a native speaker :)

Maybe at least the description should mention this more clearly?!

With kind regards
Bert.

Reply via email to