public class UnanchoredConsumer extends RabbitMQConsumer
MS_WAIT_FOR_MESSAGE| Constructor and Description |
|---|
UnanchoredConsumer(ConnectionConfig connectionConfig,
int prefetchCount,
String queueName,
boolean requeueOnFail,
Declarator declarator,
ErrorReporter errorReporter) |
| Modifier and Type | Method and Description |
|---|---|
void |
ack(Long msgId) |
void |
deadLetter(Long msgId) |
void |
fail(Long msgId) |
void |
failWithRedelivery(Long msgId) |
protected boolean |
isAutoAcking() |
close, nextMessage, openpublic UnanchoredConsumer(ConnectionConfig connectionConfig, int prefetchCount, String queueName, boolean requeueOnFail, Declarator declarator, ErrorReporter errorReporter)
public void ack(Long msgId)
ack in class RabbitMQConsumerpublic void fail(Long msgId)
fail in class RabbitMQConsumerpublic void failWithRedelivery(Long msgId)
failWithRedelivery in class RabbitMQConsumerpublic void deadLetter(Long msgId)
deadLetter in class RabbitMQConsumerprotected boolean isAutoAcking()
isAutoAcking in class RabbitMQConsumerCopyright © 2013-2015. All Rights Reserved.