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

[Obsolete("This status is not ready to use.", true)] All = 1

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

Disabled = 0

Delayed retry is not applied (default).

[Obsolete("This status is not ready to use.", true)] Failed = 2

Only messages with an incremented delivery-count are delayed. This happens for example when discarding a message via IContext.Discard().

Returned = 3

Only messages without an incremented delivery-count are delayed. This happens for example when requeuing a message via IContext.Requeue().

See Also