public class AmqpInboundGatewaySpec extends AmqpBaseInboundGatewaySpec<AmqpInboundGatewaySpec> implements ComponentsRegistration
AmqpBaseInboundGatewaySpec implementation for a AmqpInboundGateway.
Allows to provide SimpleMessageListenerContainer options.logger, PARSER, target| Modifier and Type | Method and Description |
|---|---|
AmqpInboundGatewaySpec |
acknowledgeMode(org.springframework.amqp.core.AcknowledgeMode acknowledgeMode) |
AmqpInboundGatewaySpec |
addQueueNames(java.lang.String... queueName) |
AmqpInboundGatewaySpec |
addQueues(org.springframework.amqp.core.Queue... queues) |
AmqpInboundGatewaySpec |
adviceChain(org.aopalliance.aop.Advice... adviceChain) |
AmqpInboundGatewaySpec |
channelTransacted(boolean transactional) |
AmqpInboundGatewaySpec |
concurrentConsumers(int concurrentConsumers) |
AmqpInboundGatewaySpec |
consecutiveActiveTrigger(int consecutiveActiveTrigger) |
AmqpInboundGatewaySpec |
consecutiveIdleTrigger(int consecutiveIdleTrigger) |
AmqpInboundGatewaySpec |
defaultRequeueRejected(boolean defaultRequeueRejected) |
AmqpInboundGatewaySpec |
errorHandler(org.springframework.util.ErrorHandler errorHandler) |
AmqpInboundGatewaySpec |
exclusive(boolean exclusive) |
java.util.Collection<java.lang.Object> |
getComponentsToRegister() |
AmqpInboundGatewaySpec |
maxConcurrentConsumers(int maxConcurrentConsumers) |
AmqpInboundGatewaySpec |
prefetchCount(int prefetchCount) |
AmqpInboundGatewaySpec |
receiveTimeout(long receiveTimeout) |
AmqpInboundGatewaySpec |
recoveryInterval(long recoveryInterval) |
AmqpInboundGatewaySpec |
shutdownTimeout(long shutdownTimeout) |
AmqpInboundGatewaySpec |
startConsumerMinInterval(long startConsumerMinInterval) |
AmqpInboundGatewaySpec |
stopConsumerMinInterval(long stopConsumerMinInterval) |
AmqpInboundGatewaySpec |
taskExecutor(java.util.concurrent.Executor taskExecutor)
Configure an
Executor used to invoke the message listener. |
AmqpInboundGatewaySpec |
transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
Configure a
PlatformTransactionManager; used to synchronize the rabbit transaction
with some other transaction(s). |
AmqpInboundGatewaySpec |
txSize(int txSize) |
defaultReplyTo, headerMapper, mappedReplyHeaders, mappedRequestHeaders, messageConverterautoStartup, errorChannel, errorChannel, id, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout_this, doGet, get, getId, getObject, getObjectType, isSingletonpublic AmqpInboundGatewaySpec acknowledgeMode(org.springframework.amqp.core.AcknowledgeMode acknowledgeMode)
acknowledgeMode - the acknowledgeMode.AbstractMessageListenerContainer.setAcknowledgeMode(AcknowledgeMode)public AmqpInboundGatewaySpec addQueueNames(java.lang.String... queueName)
queueName - a vararg list of queue names to add.SimpleMessageListenerContainer.addQueueNames(String...)public AmqpInboundGatewaySpec addQueues(org.springframework.amqp.core.Queue... queues)
queues - a vararg list of queues to add.SimpleMessageListenerContainer.addQueueNames(String...)public AmqpInboundGatewaySpec errorHandler(org.springframework.util.ErrorHandler errorHandler)
errorHandler - the errorHandler.AbstractMessageListenerContainer.setErrorHandler(ErrorHandler)public AmqpInboundGatewaySpec channelTransacted(boolean transactional)
transactional - true for transactional channels.RabbitAccessor.setChannelTransacted(boolean)public AmqpInboundGatewaySpec adviceChain(org.aopalliance.aop.Advice... adviceChain)
adviceChain - the adviceChain.SimpleMessageListenerContainer.setAdviceChain(Advice[])public AmqpInboundGatewaySpec recoveryInterval(long recoveryInterval)
recoveryInterval - the recoveryIntervalSimpleMessageListenerContainer.setRecoveryInterval(long)public AmqpInboundGatewaySpec concurrentConsumers(int concurrentConsumers)
concurrentConsumers - the concurrentConsumersSimpleMessageListenerContainer.setConcurrentConsumers(int)public AmqpInboundGatewaySpec maxConcurrentConsumers(int maxConcurrentConsumers)
maxConcurrentConsumers - the maxConcurrentConsumers.SimpleMessageListenerContainer.setMaxConcurrentConsumers(int)public AmqpInboundGatewaySpec exclusive(boolean exclusive)
exclusive - true for exclusive.SimpleMessageListenerContainer.setExclusive(boolean)public AmqpInboundGatewaySpec startConsumerMinInterval(long startConsumerMinInterval)
startConsumerMinInterval - the startConsumerMinIntervalSimpleMessageListenerContainer.setStartConsumerMinInterval(long)public AmqpInboundGatewaySpec stopConsumerMinInterval(long stopConsumerMinInterval)
stopConsumerMinInterval - the stopConsumerMinInterval.SimpleMessageListenerContainer.setStopConsumerMinInterval(long)public AmqpInboundGatewaySpec consecutiveActiveTrigger(int consecutiveActiveTrigger)
consecutiveActiveTrigger - the consecutiveActiveTrigger.SimpleMessageListenerContainer.setConsecutiveActiveTrigger(int)public AmqpInboundGatewaySpec consecutiveIdleTrigger(int consecutiveIdleTrigger)
consecutiveIdleTrigger - the consecutiveIdleTrigger.SimpleMessageListenerContainer.setConsecutiveIdleTrigger(int)public AmqpInboundGatewaySpec receiveTimeout(long receiveTimeout)
receiveTimeout - the receiveTimeoutSimpleMessageListenerContainer.setReceiveTimeout(long)public AmqpInboundGatewaySpec shutdownTimeout(long shutdownTimeout)
shutdownTimeout - the shutdownTimeout.SimpleMessageListenerContainer.setShutdownTimeout(long)public AmqpInboundGatewaySpec taskExecutor(java.util.concurrent.Executor taskExecutor)
Executor used to invoke the message listener.taskExecutor - the taskExecutor.public AmqpInboundGatewaySpec prefetchCount(int prefetchCount)
prefetchCount - the prefetchCount.SimpleMessageListenerContainer.setPrefetchCount(int)public AmqpInboundGatewaySpec txSize(int txSize)
txSize - the txSize.SimpleMessageListenerContainer.setTxSize(int)public AmqpInboundGatewaySpec transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
PlatformTransactionManager; used to synchronize the rabbit transaction
with some other transaction(s).transactionManager - the transactionManager.public AmqpInboundGatewaySpec defaultRequeueRejected(boolean defaultRequeueRejected)
defaultRequeueRejected - the defaultRequeueRejected.SimpleMessageListenerContainer.setDefaultRequeueRejected(boolean)public java.util.Collection<java.lang.Object> getComponentsToRegister()
getComponentsToRegister in interface ComponentsRegistration