Package com.rabbitmq.client
Interface ReturnListener
public interface ReturnListener
Implement 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, use
ReturnCallback
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleReturn
(int replyCode, String replyText, String exchange, String routingKey, AMQP.BasicProperties properties, byte[] body)
-
Method Details
-
handleReturn
void handleReturn(int replyCode, String replyText, String exchange, String routingKey, AMQP.BasicProperties properties, byte[] body) throws IOException - Throws:
IOException
-