Example usage for Java org.springframework.amqp.rabbit.listener BlockingQueueConsumer fields, constructors, methods, implement or subclass
The text is from its open source code.
void | basicCancel() |
boolean | commitIfNecessary(boolean locallyTransacted) Perform a commit or message acknowledgement, as appropriate. |
BackOffExecution | getBackOffExecution() |
Channel | getChannel() |
Message | nextMessage(long timeout) Main application-side API: wait for the next message delivery and return it. |
void | rollbackOnExceptionIfNecessary(Throwable ex) Perform a rollback, handling rollback exceptions properly. |
void | setBackOffExecution(BackOffExecution backOffExecution) Set the BackOffExecution to use for the recovery in the SimpleMessageListenerContainer . |
void | setDeclarationRetries(int declarationRetries) Set the number of retries after passive queue declaration fails. |
void | setFailedDeclarationRetryInterval(long failedDeclarationRetryInterval) Set the interval between passive queue declaration attempts in milliseconds. |
void | setRetryDeclarationInterval(long retryDeclarationInterval) When consuming multiple queues, set the interval between declaration attempts when only a subset of the queues were available (milliseconds). |
void | setShutdownTimeout(long shutdownTimeout) |
void | setTagStrategy(ConsumerTagStrategy tagStrategy) Set the ConsumerTagStrategy to use when generating consumer tags. |
void | stop() |