Package io.awspring.cloud.sqs.annotation
Class SqsListenerAcknowledgementMode
java.lang.Object
io.awspring.cloud.sqs.annotation.SqsListenerAcknowledgementMode
Acknowledgement strategies supported by the
SqsListener annotation.- Since:
- 3.1
- Author:
- Joao Calassio
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringMessages will be acknowledged whether processing was completed successfully or with an error.static final StringMessages will not be acknowledged automatically by the container.static final StringMessages will be acknowledged when message processing is successful. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ON_SUCCESS
Messages will be acknowledged when message processing is successful.- See Also:
-
ALWAYS
Messages will be acknowledged whether processing was completed successfully or with an error.- See Also:
-
MANUAL
Messages will not be acknowledged automatically by the container.- See Also:
-
-
Constructor Details
-
SqsListenerAcknowledgementMode
public SqsListenerAcknowledgementMode()
-