Enum SendingResult
- java.lang.Object
-
- java.lang.Enum<SendingResult>
-
- com.scaleoutsoftware.digitaltwin.core.SendingResult
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SendingResult>
,java.lang.constant.Constable
public enum SendingResult extends java.lang.Enum<SendingResult>
Marks a message as Delivered or not Delivered
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Enqueued
Enqueued indicates that a message was successfully formed and then sent to an internal messaging serviceHandled
Handled indicates that a message was successfully sent and processedNotHandled
NotHandled indicates that the message was not handled.
-
Method Summary
Modifier and Type Method Description static SendingResult
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SendingResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Handled
public static final SendingResult Handled
Handled indicates that a message was successfully sent and processed
-
Enqueued
public static final SendingResult Enqueued
Enqueued indicates that a message was successfully formed and then sent to an internal messaging service
-
NotHandled
public static final SendingResult 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 Detail
-
values
public static SendingResult[] 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
public static SendingResult valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-