Package com.rabbitmq.client
Interface ConfirmListener
-
public interface ConfirmListener
Implement this interface in order to be notified of Confirm events. Acks represent messages handled successfully; Nacks represent messages lost by the broker. Note, the lost messages could still have been delivered to consumers, but the broker cannot guarantee this.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleAck(long deliveryTag, boolean multiple)
void
handleNack(long deliveryTag, boolean multiple)
-
-
-
Method Detail
-
handleAck
void handleAck(long deliveryTag, boolean multiple) throws IOException
- Throws:
IOException
-
handleNack
void handleNack(long deliveryTag, boolean multiple) throws IOException
- Throws:
IOException
-
-