Enum Class SendingResult

java.lang.Object
java.lang.Enum<SendingResult>
com.scaleoutsoftware.digitaltwin.core.SendingResult
All Implemented Interfaces:
Serializable, Comparable<SendingResult>, Constable

public enum SendingResult extends Enum<SendingResult>
Marks a message as Delivered or not Delivered
  • Enum Constant Details

    • 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 Details

    • values

      public static SendingResult[] 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

      public static SendingResult valueOf(String name)
      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 name
      NullPointerException - if the argument is null