public interface Acknowledgement
Modifier and Type | Method and Description |
---|---|
void |
ack()
Acknowledges the message.
|
void |
nack()
Rejects the message.
|
void ack() throws MessageAcknowledgementException
MessageAcknowledgementException
- if an error occurred acknowledging the messagevoid nack() throws MessageAcknowledgementException
MessageAcknowledgementException
- if an error occurred rejecting the message