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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleReturn(int replyCode, String replyText, String exchange, String routingKey, AMQP.BasicProperties properties, byte[] body)
-
-
-
Method Detail
-
handleReturn
void handleReturn(int replyCode, String replyText, String exchange, String routingKey, AMQP.BasicProperties properties, byte[] body) throws IOException
- Throws:
IOException
-
-