Enum Class SendResult
- All Implemented Interfaces:
Serializable, Comparable<SendResult>, Constable
Delivery status reported for one event destination. These are transport/queue observations, not proof
that application code did or did not execute: a timeout or connection loss can occur after delivery.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe destination accepted the event into its bounded processing queue.The destination could not accept the event because a bounded queue was full.Delivery failed for another reason; application execution may be unknown.The destination is reachable but has no local event subscriber for this channel.The destination was not connected when routing was attempted.The destination or proxy rejected the event, for example due to policy or protocol validation.No acceptance receipt arrived before the deadline; the event may still have been delivered. -
Method Summary
Modifier and TypeMethodDescriptionstatic SendResultReturns the enum constant of this class with the specified name.static SendResult[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCEPTED
The destination accepted the event into its bounded processing queue. -
NO_SUBSCRIBER
The destination is reachable but has no local event subscriber for this channel. -
NOT_CONNECTED
The destination was not connected when routing was attempted. -
BACKPRESSURED
The destination could not accept the event because a bounded queue was full. -
REJECTED
The destination or proxy rejected the event, for example due to policy or protocol validation. -
TIMED_OUT
No acceptance receipt arrived before the deadline; the event may still have been delivered. -
FAILED
Delivery failed for another reason; application execution may be unknown.
-
-
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
-