Package com.rabbitmq.client.amqp
Enum Management.QuorumQueueDeadLetterStrategy
java.lang.Object
java.lang.Enum<Management.QuorumQueueDeadLetterStrategy>
com.rabbitmq.client.amqp.Management.QuorumQueueDeadLetterStrategy
- All Implemented Interfaces:
Serializable
,Comparable<Management.QuorumQueueDeadLetterStrategy>
,java.lang.constant.Constable
- Enclosing interface:
Management
public static enum Management.QuorumQueueDeadLetterStrategy
extends Enum<Management.QuorumQueueDeadLetterStrategy>
Dead letter strategy for quorum queues.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAt-least-once strategy, guarantees for the message transfer between queues (with some caveats).At-most-once strategy, dead-lettered messages can be lost in transit. -
Method Summary
-
Enum Constant Details
-
AT_MOST_ONCE
At-most-once strategy, dead-lettered messages can be lost in transit.The default strategy.
-
AT_LEAST_ONCE
At-least-once strategy, guarantees for the message transfer between queues (with some caveats).- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
strategy
-