
io.latent.storm.rabbitmq.UnanchoredConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of storm-rabbitmq Show documentation
Show all versions of storm-rabbitmq Show documentation
A library of tools for interacting with RabbitMQ from Storm.
package io.latent.storm.rabbitmq;
import io.latent.storm.rabbitmq.config.ConnectionConfig;
public class UnanchoredConsumer extends RabbitMQConsumer {
public UnanchoredConsumer(ConnectionConfig connectionConfig,
int prefetchCount,
String queueName,
boolean requeueOnFail,
Declarator declarator,
ErrorReporter errorReporter) {
super(connectionConfig, prefetchCount, queueName, requeueOnFail, declarator, errorReporter);
}
@Override
public void ack(Long msgId) { /* no op */ }
@Override
public void fail(Long msgId) { /* no op */ }
@Override
public void failWithRedelivery(Long msgId) { /* no op */ }
@Override
public void deadLetter(Long msgId) { /* no op */ }
@Override
protected boolean isAutoAcking() { return true; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy