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

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

Introduction

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

Usage

From source file com.hpe.caf.worker.queue.rabbit.WorkerConfirmListener.java

/**
 * Ack incoming task messages when the outgoing response has been confirmed by the RabbitMQ broker.
 * @since 10.7
 */
class WorkerConfirmListener implements ConfirmListener {
    private final SortedMap<Long, Long> confirmMap = Collections.synchronizedSortedMap(new TreeMap<>());

From source file org.springframework.amqp.rabbit.support.PublisherCallbackChannelImpl.java

/**
 * Channel wrapper to allow a single listener able to handle
 * confirms from multiple channels.
 *
 * @author Gary Russell
 * @since 1.0.1

From source file vn.com.uet.performance.rabbitmq.Producer.java

public class Producer extends ProducerConsumerBase implements Runnable, ReturnListener, ConfirmListener {
    private final Channel channel;
    private final String exchangeName;
    private final String id;
    private final boolean randomRoutingKey;
    private final boolean mandatory;