Enum Class 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn error raised while performing the ACK of a message.An error raised while consuming a message.The target destination does not exist.Illegal body for the message to be published.Illegal delivery delay for the message to be published.Illegal message group ID for the message to be publishedAn error raised while performing the NACK of a message.An error raised while publishing a message.Operation timed out while trying to consume a message. -
Method Summary
Modifier and TypeMethodDescriptionstatic AnypointMQErrorReturns the enum constant of this class with the specified name.static AnypointMQError[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.mule.runtime.extension.api.error.ErrorTypeDefinition
getType
-
Enum Constant Details
-
PUBLISHING
An error raised while publishing a message. -
CONSUMING
An error raised while consuming a message. -
ACKING
An error raised while performing the ACK of a message. -
NACKING
An error raised while performing the NACK of a message. -
DESTINATION_NOT_FOUND
The target destination does not exist. -
ILLEGAL_MESSAGE_GROUP_ID
Illegal message group ID for the message to be published -
ILLEGAL_BODY
Illegal body for the message to be published. -
ILLEGAL_DELAY
Illegal delivery delay for the message to be published. -
TIMEOUT
Operation timed out while trying to consume a message.
-
-
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
-
getParent
public Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> getParent()- Specified by:
getParentin interfaceorg.mule.runtime.extension.api.error.ErrorTypeDefinition<AnypointMQError>
-