Java org.springframework.amqp.rabbit.listener BlockingQueueConsumer fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.amqp.rabbit.listener BlockingQueueConsumer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.amqp.rabbit.listener BlockingQueueConsumer.

The text is from its open source code.

Constructor

Method

voidbasicCancel()
booleancommitIfNecessary(boolean locallyTransacted)
Perform a commit or message acknowledgement, as appropriate.
BackOffExecutiongetBackOffExecution()
ChannelgetChannel()
MessagenextMessage(long timeout)
Main application-side API: wait for the next message delivery and return it.
voidrollbackOnExceptionIfNecessary(Throwable ex)
Perform a rollback, handling rollback exceptions properly.
voidsetBackOffExecution(BackOffExecution backOffExecution)
Set the BackOffExecution to use for the recovery in the SimpleMessageListenerContainer .
voidsetDeclarationRetries(int declarationRetries)
Set the number of retries after passive queue declaration fails.
voidsetFailedDeclarationRetryInterval(long failedDeclarationRetryInterval)
Set the interval between passive queue declaration attempts in milliseconds.
voidsetRetryDeclarationInterval(long retryDeclarationInterval)
When consuming multiple queues, set the interval between declaration attempts when only a subset of the queues were available (milliseconds).
voidsetShutdownTimeout(long shutdownTimeout)
voidsetTagStrategy(ConsumerTagStrategy tagStrategy)
Set the ConsumerTagStrategy to use when generating consumer tags.
voidstop()