public enum AcknowledgementType extends Enum<AcknowledgementType>
| Enum Constant and Description |
|---|
ABANDON
This acknowledgement will requeue the received message back into the service's message queue so that it will be
sent again.
|
COMPLETE
This acknowledgement will remove the received message from the service's message queue so that it won't be sent
again.
|
| Modifier and Type | Method and Description |
|---|---|
static AcknowledgementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AcknowledgementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AcknowledgementType COMPLETE
public static final AcknowledgementType ABANDON
public static AcknowledgementType[] values()
for (AcknowledgementType c : AcknowledgementType.values()) System.out.println(c);
public static AcknowledgementType 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 © 2024. All rights reserved.