public static enum MessageAcknowledgementConfiguration.Outcome extends Enum<MessageAcknowledgementConfiguration.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 MessageAcknowledgementConfiguration.Outcome |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageAcknowledgementConfiguration.Outcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageAcknowledgementConfiguration.Outcome ACCEPTED
public static final MessageAcknowledgementConfiguration.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 MessageAcknowledgementConfiguration.Outcome REJECTED
Message will NOT be redelivered. Message will be moved to DMQ. If DMQ is not configured, message is deleted.
public static MessageAcknowledgementConfiguration.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 nullpublic static MessageAcknowledgementConfiguration.Outcome[] values()
for (MessageAcknowledgementConfiguration.Outcome c : MessageAcknowledgementConfiguration.Outcome.values()) System.out.println(c);
Copyright 2019-2024 Solace Corporation. All rights reserved.