Using Version 4.3.2 I've configured a quorum queue with a consumer timeout, delivery limit and a delayed retry. Errors are handled as I expect with messages being re-queued with a delay.
A problem arises for me with trying to dead-letter messages should X number of attempts (attempts in my context is processing of the message) be made. According to the docs
when is delivery count incremented? not all failures will increment the 'delivery-count', specifically consumer timeouts.
This is important for my application because I can only configure dead-lettering based on the 'delivery-count' (unless I am mistaken), but I want to be able to dead letter a message following any failure.
Is there a way around this and I'm not sure why/what the ultimate difference is between x-delivery-count and x-acquired-count is and why I cannot dead-letter based on the acquired-count.?
Gary