S - the target AmqpMessageChannelSpec implementation type.public class AmqpMessageChannelSpec<S extends AmqpMessageChannelSpec<S,T>,T extends AbstractAmqpChannel> extends AmqpPollableMessageChannelSpec<S,T>
AmqpPollableMessageChannelSpec for a message-driven
PointToPointSubscribableAmqpChannel.| Modifier and Type | Field and Description |
|---|---|
protected List<Advice> |
adviceChain |
amqpChannelFactoryBeanchannelPARSER, targetloggerDEFAULT_PHASEOBJECT_TYPE_ATTRIBUTE| Modifier | Constructor and Description |
|---|---|
protected |
AmqpMessageChannelSpec(ConnectionFactory connectionFactory) |
| Modifier and Type | Method and Description |
|---|---|
S |
acknowledgeMode(AcknowledgeMode acknowledgeMode) |
S |
advice(Advice... advice) |
S |
autoStartup(boolean autoStartup) |
S |
batchSize(int batchSize)
Configure the batch size.
|
S |
concurrentConsumers(int concurrentConsumers) |
protected T |
doGet() |
S |
errorHandler(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(Executor taskExecutor)
Configure an
Executor used to invoke the message listener. |
S |
transactionAttribute(TransactionAttribute transactionAttribute)
Configure a
TransactionAttribute to be used with the
transactionManager(PlatformTransactionManager). |
S |
transactionManager(PlatformTransactionManager transactionManager)
Configure a
PlatformTransactionManager; used to synchronize the rabbit transaction
with some other transaction(s). |
amqpMessageConverter, channelTransacted, defaultDeliveryMode, encoding, extractPayload, headersMappedLast, id, inboundHeaderMapper, messagePropertiesConverter, outboundHeaderMapper, queueName, templateChannelTransacteddatatype, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTap_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopafterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingletonprotected AmqpMessageChannelSpec(ConnectionFactory connectionFactory)
public S maxSubscribers(int maxSubscribers)
maxSubscribers - the maxSubscribers.AbstractSubscribableAmqpChannel.setMaxSubscribers(int)public S acknowledgeMode(AcknowledgeMode acknowledgeMode)
acknowledgeMode - the acknowledgeMode.AbstractMessageListenerContainer.setAcknowledgeMode(AcknowledgeMode)public S advice(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(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(Executor taskExecutor)
Executor used to invoke the message listener.taskExecutor - the taskExecutor.public S transactionAttribute(TransactionAttribute transactionAttribute)
TransactionAttribute to be used with the
transactionManager(PlatformTransactionManager).transactionAttribute - the transactionAttribute.public S transactionManager(PlatformTransactionManager transactionManager)
PlatformTransactionManager; used to synchronize the rabbit transaction
with some other transaction(s).transactionManager - the transactionManager.public S batchSize(int batchSize)
batchSize - the batchSize.SimpleMessageListenerContainer.setBatchSize(int)protected T doGet()
doGet in class AmqpPollableMessageChannelSpec<S extends AmqpMessageChannelSpec<S,T>,T extends AbstractAmqpChannel>