Enum Class ManagedQueueConsumerFactory.Reason
java.lang.Object
java.lang.Enum<ManagedQueueConsumerFactory.Reason>
org.j7m.middleware.application.distributed.ManagedQueueConsumerFactory.Reason
- All Implemented Interfaces:
Serializable, Comparable<ManagedQueueConsumerFactory.Reason>, Constable
- Enclosing class:
ManagedQueueConsumerFactory
public static enum ManagedQueueConsumerFactory.Reason
extends Enum<ManagedQueueConsumerFactory.Reason>
Safe fixed reason categories, without application exception or payload text.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNative bounded journal or image admission denied.Durable identity conflicts.Durable guard retention expired.Known durable failure, eligible for bounded native NACK/DLQ.Healthy.Shared finite worker admission denied.Actual source authorization denied.Source session unavailable; reconnect is transport-only.Receipt or generation no longer owned.Unresolved external outcome; body cannot be retried automatically. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ManagedQueueConsumerFactory.Reason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Healthy. -
SOURCE_UNAVAILABLE
Source session unavailable; reconnect is transport-only. -
UNKNOWN
Unresolved external outcome; body cannot be retried automatically. -
HANDLER_FAILED
Known durable failure, eligible for bounded native NACK/DLQ. -
STALE
Receipt or generation no longer owned. -
OVERLOADED
Shared finite worker admission denied. -
CONFLICT
Durable identity conflicts. -
PERMISSION_DENIED
Actual source authorization denied. -
CAPACITY
Native bounded journal or image admission denied. -
EXPIRED
Durable guard retention expired.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-