Example usage for com.rabbitmq.client ConfirmCallback interface-usage

List of usage examples for com.rabbitmq.client ConfirmCallback interface-usage

Introduction

In this page you can find the example usage for com.rabbitmq.client ConfirmCallback interface-usage.

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,