public enum AnypointMQError extends Enum<AnypointMQError> implements org.mule.runtime.extension.api.error.ErrorTypeDefinition<AnypointMQError>
| Enum Constant and Description |
|---|
ACKING
An error raised while performing the ACK of a message.
|
CONSUMING
An error raised while consuming a message.
|
DESTINATION_NOT_FOUND
The target destination does not exist.
|
ILLEGAL_BODY
Illegal body for the message to be published.
|
ILLEGAL_DELAY
Illegal delivery delay for the message to be published.
|
ILLEGAL_MESSAGE_GROUP_ID
Illegal message group ID for the message to be published
|
NACKING
An error raised while performing the NACK of a message.
|
PUBLISHING
An error raised while publishing a message.
|
TIMEOUT
Operation timed out while trying to consume a message.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> |
getParent() |
static AnypointMQError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnypointMQError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnypointMQError PUBLISHING
public static final AnypointMQError CONSUMING
public static final AnypointMQError ACKING
public static final AnypointMQError NACKING
public static final AnypointMQError DESTINATION_NOT_FOUND
public static final AnypointMQError ILLEGAL_MESSAGE_GROUP_ID
public static final AnypointMQError ILLEGAL_BODY
public static final AnypointMQError ILLEGAL_DELAY
public static final AnypointMQError TIMEOUT
public static AnypointMQError[] values()
for (AnypointMQError c : AnypointMQError.values()) System.out.println(c);
public static AnypointMQError valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> getParent()
getParent in interface org.mule.runtime.extension.api.error.ErrorTypeDefinition<AnypointMQError>Copyright © 2025 MuleSoft, Inc.. All rights reserved.