Class AmqpMessageChannelSpec<S extends AmqpMessageChannelSpec<S,T>,T extends AbstractAmqpChannel>
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,C>
org.springframework.integration.dsl.MessageChannelSpec<S,T>
org.springframework.integration.amqp.dsl.AmqpPollableMessageChannelSpec<S,T>
org.springframework.integration.amqp.dsl.AmqpMessageChannelSpec<S,T>
- Type Parameters:
S
- the targetAmqpMessageChannelSpec
implementation type.T
- the target channel type.
- All Implemented Interfaces:
DisposableBean
,FactoryBean<T>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
,ComponentsRegistration
- Direct Known Subclasses:
AmqpPublishSubscribeMessageChannelSpec
public class AmqpMessageChannelSpec<S extends AmqpMessageChannelSpec<S,T>,T extends AbstractAmqpChannel>
extends AmqpPollableMessageChannelSpec<S,T>
An
AmqpPollableMessageChannelSpec
for a message-driven
PointToPointSubscribableAmqpChannel
.- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell, Artem Vozhdayenko
-
Field Summary
Fields inherited from class org.springframework.integration.amqp.dsl.AmqpPollableMessageChannelSpec
amqpChannelFactoryBean
Fields inherited from class org.springframework.integration.dsl.MessageChannelSpec
channel
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, target
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
ModifierConstructorDescriptionprotected
AmqpMessageChannelSpec
(ConnectionFactory connectionFactory) -
Method Summary
Modifier and TypeMethodDescriptionacknowledgeMode
(AcknowledgeMode acknowledgeMode) autoStartup
(boolean autoStartup) batchSize
(int batchSize) Configure the batch size.concurrentConsumers
(int concurrentConsumers) protected T
doGet()
errorHandler
(ErrorHandler errorHandler) exposeListenerChannel
(boolean exposeListenerChannel) maxSubscribers
(int maxSubscribers) phase
(int phase) prefetchCount
(int prefetchCount) receiveTimeout
(long receiveTimeout) recoveryInterval
(long recoveryInterval) shutdownTimeout
(long shutdownTimeout) taskExecutor
(Executor taskExecutor) Configure anExecutor
used to invoke the message listener.transactionAttribute
(TransactionAttribute transactionAttribute) Configure aTransactionAttribute
to be used with thetransactionManager(PlatformTransactionManager)
.transactionManager
(PlatformTransactionManager transactionManager) Configure aPlatformTransactionManager
; used to synchronize the rabbit transaction with some other transaction(s).Methods inherited from class org.springframework.integration.amqp.dsl.AmqpPollableMessageChannelSpec
amqpMessageConverter, channelTransacted, defaultDeliveryMode, encoding, extractPayload, headersMappedLast, id, inboundHeaderMapper, messagePropertiesConverter, outboundHeaderMapper, queueName, templateChannelTransacted
Methods inherited from class org.springframework.integration.dsl.MessageChannelSpec
datatype, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTap
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, get, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Field Details
-
adviceChain
-
-
Constructor Details
-
AmqpMessageChannelSpec
-
-
Method Details
-
maxSubscribers
- Parameters:
maxSubscribers
- the maxSubscribers.- Returns:
- the spec.
- See Also:
-
AbstractSubscribableAmqpChannel.setMaxSubscribers(int)
-
acknowledgeMode
- Parameters:
acknowledgeMode
- the acknowledgeMode.- Returns:
- the spec.
- See Also:
-
advice
- Parameters:
advice
- the advice.- Returns:
- the spec.
- See Also:
-
autoStartup
- Parameters:
autoStartup
- the autoStartup.- Returns:
- the spec.
- See Also:
-
concurrentConsumers
- Parameters:
concurrentConsumers
- the concurrentConsumers- Returns:
- the spec.
- See Also:
-
errorHandler
- Parameters:
errorHandler
- the errorHandler.- Returns:
- the spec.
- See Also:
-
exposeListenerChannel
- Parameters:
exposeListenerChannel
- the exposeListenerChannel.- Returns:
- the spec.
- See Also:
-
phase
- Parameters:
phase
- the phase.- Returns:
- the spec.
- See Also:
-
prefetchCount
- Parameters:
prefetchCount
- the prefetchCount.- Returns:
- the spec.
- See Also:
-
receiveTimeout
- Parameters:
receiveTimeout
- the receiveTimeout- Returns:
- the spec.
- See Also:
-
recoveryInterval
- Parameters:
recoveryInterval
- the recoveryInterval- Returns:
- the spec.
- See Also:
-
shutdownTimeout
- Parameters:
shutdownTimeout
- the shutdownTimeout.- Returns:
- the spec.
- See Also:
-
taskExecutor
Configure anExecutor
used to invoke the message listener.- Parameters:
taskExecutor
- the taskExecutor.- Returns:
- the spec.
-
transactionAttribute
Configure aTransactionAttribute
to be used with thetransactionManager(PlatformTransactionManager)
.- Parameters:
transactionAttribute
- the transactionAttribute.- Returns:
- the spec.
-
transactionManager
Configure aPlatformTransactionManager
; used to synchronize the rabbit transaction with some other transaction(s).- Parameters:
transactionManager
- the transactionManager.- Returns:
- the spec.
-
batchSize
Configure the batch size.- Parameters:
batchSize
- the batchSize.- Returns:
- the spec.
- Since:
- 5.2
- See Also:
-
doGet
- Overrides:
doGet
in classAmqpPollableMessageChannelSpec<S extends AmqpMessageChannelSpec<S,
T>, T extends AbstractAmqpChannel>
-