List of usage examples for com.rabbitmq.client ReturnCallback interface-usage
From source file org.springframework.amqp.rabbit.AsyncRabbitTemplate.java
/**
* Provides asynchronous send and receive operations returning a {@link ListenableFuture}
* allowing the caller to obtain the reply later, using {@code get()} or a callback.
* <p>
* When confirms are enabled, the future has a confirm property which is itself a
* {@link ListenableFuture}. If the reply is received before the publisher confirm,