All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.latent.storm.rabbitmq.UnanchoredConsumer Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
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