Package com.rabbitmq.client
Interface ReturnListener
-
public interface ReturnListenerImplement this interface in order to be notified of failed deliveries when basicPublish is called with "mandatory" or "immediate" flags set. For a lambda-oriented syntax, useReturnCallback.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleReturn(int replyCode, java.lang.String replyText, java.lang.String exchange, java.lang.String routingKey, AMQP.BasicProperties properties, byte[] body)
-
-
-
Method Detail
-
handleReturn
void handleReturn(int replyCode, java.lang.String replyText, java.lang.String exchange, java.lang.String routingKey, AMQP.BasicProperties properties, byte[] body) throws java.io.IOException- Throws:
java.io.IOException
-
-