Package com.rabbitmq.client
Interface ConfirmCallback
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ConfirmCallback
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. Prefer this interface overConfirmListener
for a lambda-oriented syntax.- See Also:
ConfirmListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(long deliveryTag, boolean multiple)
-
-
-
Method Detail
-
handle
void handle(long deliveryTag, boolean multiple) throws IOException
- Throws:
IOException
-
-