Package io.micronaut.messaging
Interface Acknowledgement
public interface Acknowledgement
A contract that allows for responding to messages.
- Since:
- 1.1.0
- Author:
- James Kleeh
-
Method Summary
-
Method Details
-
ack
Acknowledges the message.- Throws:
MessageAcknowledgementException
- if an error occurred acknowledging the message
-
nack
Rejects the message.- Throws:
MessageAcknowledgementException
- if an error occurred rejecting the message
-