public static enum XMLMessage.Outcome extends Enum<XMLMessage.Outcome>
Enum Constant and Description |
---|
ACCEPTED
Represents a successful message processing acknowledgement outcome.
|
FAILED
Represents a negative acknowledgement outcome, used to signal that the application failed to process
the message.
|
REJECTED
Represents a negative acknowledgement outcome, used to signal that the application has rejected the
message such as when application determines the message is invalid.
|
Modifier and Type | Method and Description |
---|---|
static XMLMessage.Outcome |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XMLMessage.Outcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMLMessage.Outcome ACCEPTED
public static final XMLMessage.Outcome FAILED
Delivery count for the message is incremented. Redelivery will be attempted. Message may be moved to DMQ once max-redelivered is reached. Message may be delayed if the endpoint has delayed redelivery configured.
public static final XMLMessage.Outcome REJECTED
Message will NOT be redelivered. Message will be moved to DMQ. If DMQ is not configured, message is deleted.
public static XMLMessage.Outcome[] values()
for (XMLMessage.Outcome c : XMLMessage.Outcome.values()) System.out.println(c);
public static XMLMessage.Outcome 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 nullCopyright 2004-2024 Solace Corporation. All rights reserved.