Example usage for org.springframework.amqp.core AsyncAmqpTemplate interface-usage

List of usage examples for org.springframework.amqp.core AsyncAmqpTemplate interface-usage

Introduction

In this page you can find the example usage for org.springframework.amqp.core AsyncAmqpTemplate 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,