Table of Contents

Enum QuorumQueueDelayedRetryType

Namespace
RabbitMQ.AMQP.Client
Assembly
RabbitMQ.AMQP.Client.dll

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 = 1

All returned messages are delayed, regardless of whether the delivery count was incremented.

Disabled = 0

Delayed retry is not applied (default).

Failed = 2

Only messages with an incremented delivery-count are delayed. This happens for example when discarding a message via IContext.DelayedRetry(delay, true). or IContext.Requeue(annotation, true).

Returned = 3

Only messages with incremented xacquired-count are delayed. This happens for example when requeuing a message via IContext.Requeue() or /// or IContext.Requeue(annotation, false).

See Also