Enum Class SendingResult
- All Implemented Interfaces:
Serializable
,Comparable<SendingResult>
,Constable
Marks a message as Delivered or not Delivered
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnqueued indicates that a message was successfully formed and then sent to an internal messaging serviceHandled indicates that a message was successfully sent and processedNotHandled indicates that the message was not handled. -
Method Summary
Modifier and TypeMethodDescriptionstatic SendingResult
Returns the enum constant of this class with the specified name.static SendingResult[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Handled
Handled indicates that a message was successfully sent and processed -
Enqueued
Enqueued indicates that a message was successfully formed and then sent to an internal messaging service -
NotHandled
NotHandled indicates that the message was not handled. This can occur if an exception occurs in the message processor or if internal messaging service reached capacity.
-
-
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
-