Class AmqpMessageChannelSpec<S extends AmqpMessageChannelSpec<S,T>,T extends AbstractAmqpChannel>
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,T>
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 targetAmqpMessageChannelSpecimplementation 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
FieldsFields inherited from class org.springframework.integration.amqp.dsl.AmqpPollableMessageChannelSpec
amqpChannelFactoryBeanFields inherited from class org.springframework.integration.dsl.MessageChannelSpec
channelFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAmqpMessageChannelSpec(ConnectionFactory connectionFactory) -
Method Summary
Modifier and TypeMethodDescriptionacknowledgeMode(AcknowledgeMode acknowledgeMode) autoStartup(boolean autoStartup) batchSize(int batchSize) Configure the batch size.concurrentConsumers(int concurrentConsumers) protected TdoGet()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 anExecutorused to invoke the message listener.transactionAttribute(TransactionAttribute transactionAttribute) Configure aTransactionAttributeto 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, templateChannelTransactedMethods inherited from class org.springframework.integration.dsl.MessageChannelSpec
datatype, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTapMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
-
acknowledgeMode
- Parameters:
acknowledgeMode- the acknowledgeMode.- Returns:
- the spec.
- See Also:
-
advice
-
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
-
transactionAttribute
Configure aTransactionAttributeto 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:
doGetin classAmqpPollableMessageChannelSpec<S extends AmqpMessageChannelSpec<S,T>, T extends AbstractAmqpChannel>
-