List of usage examples for com.rabbitmq.client Consumer interface-usage
From source file com.analogmountains.flume.RabbitMQSource.java
public class RabbitMQSource extends AbstractSource implements Configurable, Consumer, EventDrivenSource { private static final Logger logger = LoggerFactory.getLogger(RabbitMQSource.class); private Connection connection; private ConnectionFactory factory; private Channel channel;
From source file com.cisco.oss.foundation.message.AbstractRabbitMQMessageHandler.java
/** * Basic abstract handler that exposes the foundation message handler but also implements silently the RabbitMQ message handler * Created by Yair Ogen on 24/04/2014. */ public abstract class AbstractRabbitMQMessageHandler extends AbstractMessageHandler implements Consumer {
From source file com.esri.geoevent.transport.rabbitmq.RabbitMQQueueingConsumer.java
public class RabbitMQQueueingConsumer implements Consumer { private final Channel channel; private volatile String consumerTag; private final BlockingQueue<Delivery> queue = new LinkedBlockingQueue<Delivery>(); public RabbitMQQueueingConsumer(Channel channel) {
From source file com.github.larsq.spring.embeddedamqp.QueueingConsumer.java
/** * Consumer that stores the messages in a queue until its full capacity is reached. * * @author Lars Eriksson (larsq.eriksson@gmail.com) */ public class QueueingConsumer implements Consumer {
From source file com.hpe.caf.util.rabbitmq.RabbitConsumer.java
/**
* A basic framework for handling consumption of messages from a RabbitMQ queue.
* It decouples the RabbitMQ client threads delivering messages from the handling
* and dispatching of these messages.
* @since 1.0
*/
From source file flens.input.AMQPInput.java
public class AMQPInput extends AbstractInput implements Consumer { private String queue; private String exchange; private String key; private ConnectionFactory factory;
From source file io.opentracing.contrib.rabbitmq.TracingConsumer.java
public class TracingConsumer implements Consumer { private final Consumer consumer; private final Tracer tracer; public TracingConsumer(Consumer consumer, Tracer tracer) {
From source file io.ventu.rpc.amqp.AmqpResponderImpl.java
class AmqpResponderImpl extends NoopConsumer implements Consumer, AmqpResponder { interface ChannelProvider { Channel provide(String routingKeyPattern, Consumer consumer) throws IOException, TimeoutException; String rpcExchange();
From source file lpp.rabbitmq.original.QueueConsumer.java
/** * ?? * @author lipanpan * @time 2016224 */ public class QueueConsumer extends EndPoint implements Runnable, Consumer {
From source file net.joshdevins.rabbitmq.client.ha.HaConsumerProxy.java
/** * A proxy around the standard {@link Consumer}. * * @author Josh Devins */ public class HaConsumerProxy implements Consumer {