Enum QuorumQueueDelayedRetryType
Conditions for delaying a message when it is returned to a quorum queue.
The delay is calculated with linear back-off based on the message's delivery count:
min(min_delay * delivery_count, max_delay). A per-message explicit delivery time
can also be set by adding the x-opt-delivery-time annotation (a Unix timestamp in
milliseconds) when requeuing a message with annotations.
Delayed retry support for quorum queues is available as of RabbitMQ 4.3.
public enum QuorumQueueDelayedRetryType
Fields
All = 1All returned messages are delayed, regardless of whether the delivery count was incremented.
Disabled = 0Delayed retry is not applied (default).
Failed = 2Only messages with an incremented
delivery-countare delayed. This happens for example when discarding a message viaIContext.DelayedRetry(delay, true). orIContext.Requeue(annotation, true).Returned = 3Only messages with incremented
xacquired-countare delayed. This happens for example when requeuing a message viaIContext.Requeue()or /// orIContext.Requeue(annotation, false).