Enum Class AnypointMQError

java.lang.Object
java.lang.Enum<AnypointMQError>
com.mulesoft.extension.mq.api.exception.AnypointMQError
All Implemented Interfaces:
Serializable, Comparable<AnypointMQError>, java.lang.constant.Constable, org.mule.runtime.extension.api.error.ErrorTypeDefinition<AnypointMQError>

public enum AnypointMQError extends Enum<AnypointMQError> implements org.mule.runtime.extension.api.error.ErrorTypeDefinition<AnypointMQError>
Errors for the MQ extension
Since:
3.0.0
  • Enum Constant Details

    • PUBLISHING

      public static final AnypointMQError PUBLISHING
      An error raised while publishing a message.
    • CONSUMING

      public static final AnypointMQError CONSUMING
      An error raised while consuming a message.
    • ACKING

      public static final AnypointMQError ACKING
      An error raised while performing the ACK of a message.
    • NACKING

      public static final AnypointMQError NACKING
      An error raised while performing the NACK of a message.
    • DESTINATION_NOT_FOUND

      public static final AnypointMQError DESTINATION_NOT_FOUND
      The target destination does not exist.
    • ILLEGAL_MESSAGE_GROUP_ID

      public static final AnypointMQError ILLEGAL_MESSAGE_GROUP_ID
      Illegal message group ID for the message to be published
    • ILLEGAL_BODY

      public static final AnypointMQError ILLEGAL_BODY
      Illegal body for the message to be published.
    • ILLEGAL_DELAY

      public static final AnypointMQError ILLEGAL_DELAY
      Illegal delivery delay for the message to be published.
    • TIMEOUT

      public static final AnypointMQError TIMEOUT
      Operation timed out while trying to consume a message.
  • Method Details

    • values

      public static AnypointMQError[] 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 AnypointMQError 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
    • getParent

      public Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> getParent()
      Specified by:
      getParent in interface org.mule.runtime.extension.api.error.ErrorTypeDefinition<AnypointMQError>