List of usage examples for com.rabbitmq.client ConfirmListener interface-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;