S - the target AmqpMessageChannelSpec implementation type.public class AmqpMessageChannelSpec<S extends AmqpMessageChannelSpec<S>> extends AmqpPollableMessageChannelSpec<S>
AmqpPollableMessageChannelSpec for a message-driven
PointToPointSubscribableAmqpChannel.amqpChannelFactoryBeanchannellogger, PARSER, target| Modifier and Type | Method and Description |
|---|---|
S |
acknowledgeMode(org.springframework.amqp.core.AcknowledgeMode acknowledgeMode) |
S |
advice(org.aopalliance.aop.Advice... advice) |
S |
autoStartup(boolean autoStartup) |
S |
concurrentConsumers(int concurrentConsumers) |
protected AbstractAmqpChannel |
doGet() |
S |
errorHandler(org.springframework.util.ErrorHandler errorHandler) |
S |
exposeListenerChannel(boolean exposeListenerChannel) |
S |
maxSubscribers(int maxSubscribers) |
S |
phase(int phase) |
S |
prefetchCount(int prefetchCount) |
S |
receiveTimeout(long receiveTimeout) |
S |
recoveryInterval(long recoveryInterval) |
S |
shutdownTimeout(long shutdownTimeout) |
S |
taskExecutor(java.util.concurrent.Executor taskExecutor)
Configure an
Executor used to invoke the message listener. |
S |
transactionAttribute(org.springframework.transaction.interceptor.TransactionAttribute transactionAttribute)
Configure a
TransactionAttribute to be used with the
transactionManager(PlatformTransactionManager). |
S |
transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
Configure a
PlatformTransactionManager; used to synchronize the rabbit transaction
with some other transaction(s). |
S |
txSize(int txSize)
Configure the txSize.
|
amqpMessageConverter, channelTransacted, defaultDeliveryMode, encoding, extractPayload, headersMappedLast, id, inboundHeaderMapper, messagePropertiesConverter, outboundHeaderMapper, queueName, templateChannelTransacteddatatype, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTap_this, get, getId, getObject, getObjectType, isSingletonpublic S maxSubscribers(int maxSubscribers)
maxSubscribers - the maxSubscribers.AbstractSubscribableAmqpChannel.setMaxSubscribers(int)public S acknowledgeMode(org.springframework.amqp.core.AcknowledgeMode acknowledgeMode)
acknowledgeMode - the acknowledgeMode.AbstractMessageListenerContainer.setAcknowledgeMode(AcknowledgeMode)public S advice(org.aopalliance.aop.Advice... advice)
advice - the advice.AbstractMessageListenerContainer.setAdviceChain(Advice[])public S autoStartup(boolean autoStartup)
autoStartup - the autoStartup.SmartLifecyclepublic S concurrentConsumers(int concurrentConsumers)
concurrentConsumers - the concurrentConsumersSimpleMessageListenerContainer.setConcurrentConsumers(int)public S errorHandler(org.springframework.util.ErrorHandler errorHandler)
errorHandler - the errorHandler.AbstractMessageListenerContainer.setErrorHandler(ErrorHandler)public S exposeListenerChannel(boolean exposeListenerChannel)
exposeListenerChannel - the exposeListenerChannel.AbstractMessageListenerContainer.setExposeListenerChannel(boolean)public S phase(int phase)
phase - the phase.SmartLifecyclepublic S prefetchCount(int prefetchCount)
prefetchCount - the prefetchCount.AbstractMessageListenerContainer.setPrefetchCount(int)public S receiveTimeout(long receiveTimeout)
receiveTimeout - the receiveTimeoutSimpleMessageListenerContainer.setReceiveTimeout(long)public S recoveryInterval(long recoveryInterval)
recoveryInterval - the recoveryIntervalAbstractMessageListenerContainer.setRecoveryInterval(long)public S shutdownTimeout(long shutdownTimeout)
shutdownTimeout - the shutdownTimeout.AbstractMessageListenerContainer.setShutdownTimeout(long)public S taskExecutor(java.util.concurrent.Executor taskExecutor)
Executor used to invoke the message listener.taskExecutor - the taskExecutor.public S transactionAttribute(org.springframework.transaction.interceptor.TransactionAttribute transactionAttribute)
TransactionAttribute to be used with the
transactionManager(PlatformTransactionManager).transactionAttribute - the transactionAttribute.public S transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
PlatformTransactionManager; used to synchronize the rabbit transaction
with some other transaction(s).transactionManager - the transactionManager.public S txSize(int txSize)
txSize - the txSize.SimpleMessageListenerContainer.setTxSize(int)protected AbstractAmqpChannel doGet()
doGet in class AmqpPollableMessageChannelSpec<S extends AmqpMessageChannelSpec<S>>