Enum Class AcknowledgementMode
java.lang.Object
java.lang.Enum<AcknowledgementMode>
io.awspring.cloud.sqs.listener.acknowledgement.handler.AcknowledgementMode
- All Implemented Interfaces:
Serializable,Comparable<AcknowledgementMode>,Constable
Configures the acknowledgement behavior for this container.
- Since:
- 3.0
- Author:
- Tomaz Fernandes
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMessages will be acknowledged whether processing was completed successfully or with an error.Messages will not be acknowledged automatically by the container.Messages will be acknowledged when message processing is successful. -
Method Summary
Modifier and TypeMethodDescriptionstatic AcknowledgementModeReturns the enum constant of this class with the specified name.static AcknowledgementMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ON_SUCCESS
Messages will be acknowledged when message processing is successful. -
ALWAYS
Messages will be acknowledged whether processing was completed successfully or with an error. -
MANUAL
Messages will not be acknowledged automatically by the container.- See Also:
-
-
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
-