Package com.rabbitmq.client
Interface ReturnCallback
-
- 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 ReturnCallback
Implement this interface in order to be notified of failed deliveries when basicPublish is called with "mandatory" or "immediate" flags set. Prefer this interface overReturnListener
for a simpler, lambda-oriented syntax.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(Return returnMessage)
-
-
-
Method Detail
-
handle
void handle(Return returnMessage)
-
-