Class AckUtils
java.lang.Object
org.springframework.integration.acks.AckUtils
Utility methods for acting on 
AcknowledgmentCallback headers.- Since:
- 5.0.1
- Author:
- Gary Russell, Artem Bilan
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidaccept(AcknowledgmentCallback ackCallback) ACCEPT the associated message if the callback is not null.static voidautoAck(AcknowledgmentCallback ackCallback) ACCEPT anAcknowledgmentCallbackif it's not null, supports auto ack and is not already ack'd.static voidautoNack(AcknowledgmentCallback ackCallback) REJECT anAcknowledgmentCallbackif it's not null, supports auto ack and is not already ack'd.static voidreject(AcknowledgmentCallback ackCallback) REJECT the associated message if the callback is not null.static voidrequeue(AcknowledgmentCallback ackCallback) REQUEUE the associated message if the callback is not null.
- 
Method Details- 
autoAckACCEPT anAcknowledgmentCallbackif it's not null, supports auto ack and is not already ack'd.- Parameters:
- ackCallback- the callback.
 
- 
autoNackREJECT anAcknowledgmentCallbackif it's not null, supports auto ack and is not already ack'd.- Parameters:
- ackCallback- the callback.
 
- 
acceptACCEPT the associated message if the callback is not null.- Parameters:
- ackCallback- the callback.
 
- 
rejectREJECT the associated message if the callback is not null.- Parameters:
- ackCallback- the callback.
 
- 
requeueREQUEUE the associated message if the callback is not null.- Parameters:
- ackCallback- the callback.
 
 
-