Enum Class SendResult

java.lang.Object
java.lang.Enum<SendResult>
dev.moonbridge.messaging.SendResult
All Implemented Interfaces:
Serializable, Comparable<SendResult>, Constable

public enum SendResult extends Enum<SendResult>
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 Constants
    Enum Constant
    Description
    The 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 Type
    Method
    Description
    static SendResult
    Returns the enum constant of this class with the specified name.
    static SendResult[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • ACCEPTED

      public static final SendResult ACCEPTED
      The destination accepted the event into its bounded processing queue.
    • NO_SUBSCRIBER

      public static final SendResult NO_SUBSCRIBER
      The destination is reachable but has no local event subscriber for this channel.
    • NOT_CONNECTED

      public static final SendResult NOT_CONNECTED
      The destination was not connected when routing was attempted.
    • BACKPRESSURED

      public static final SendResult BACKPRESSURED
      The destination could not accept the event because a bounded queue was full.
    • REJECTED

      public static final SendResult REJECTED
      The destination or proxy rejected the event, for example due to policy or protocol validation.
    • TIMED_OUT

      public static final SendResult TIMED_OUT
      No acceptance receipt arrived before the deadline; the event may still have been delivered.
    • FAILED

      public static final SendResult FAILED
      Delivery failed for another reason; application execution may be unknown.
  • Method Details

    • values

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