Class JmsMessageChannelSpec<S extends JmsMessageChannelSpec<S,T>, T extends AbstractJmsChannel> 
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,T>
 
org.springframework.integration.dsl.MessageChannelSpec<S,T>
 
org.springframework.integration.jms.dsl.JmsPollableMessageChannelSpec<S,T>
 
org.springframework.integration.jms.dsl.JmsMessageChannelSpec<S,T> 
- Type Parameters:
- S- the target- JmsMessageChannelSpecimplementation type.
- T- the target channel implementation type.
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<T>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle,- ComponentsRegistration
- Direct Known Subclasses:
- JmsPublishSubscribeMessageChannelSpec
public class JmsMessageChannelSpec<S extends JmsMessageChannelSpec<S,T>, T extends AbstractJmsChannel> 
extends JmsPollableMessageChannelSpec<S,T> 
A 
JmsMessageChannelSpec for subscribable
 AbstractJmsChannels.- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell, Artem Vozhdayenko
- 
Field SummaryFields inherited from class org.springframework.integration.jms.dsl.JmsPollableMessageChannelSpecjmsChannelFactoryBeanFields inherited from class org.springframework.integration.dsl.MessageChannelSpecchannelFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedJmsMessageChannelSpec(ConnectionFactory connectionFactory) 
- 
Method SummaryModifier and TypeMethodDescriptionacceptMessagesWhileStopping(boolean acceptMessagesWhileStopping) autoStartup(boolean autoStartup) cacheLevel(Integer cacheLevel) Only applies if thecontainerType(Class)is aDefaultMessageListenerContainer.concurrentConsumers(int concurrentConsumers) Only applies if thecontainerType(Class)is aDefaultMessageListenerContaineror aSimpleMessageListenerContainer.containerType(Class<? extends AbstractMessageListenerContainer> containerType) Configure the type of the container.errorHandler(ErrorHandler errorHandler) exposeListenerSession(boolean exposeListenerSession) idleTaskExecutionLimit(int idleTaskExecutionLimit) Only applies if thecontainerType(Class)is aDefaultMessageListenerContainer.maxMessagesPerTask(int maxMessagesPerTask) Only applies if thecontainerType(Class)is aDefaultMessageListenerContainer.maxSubscribers(int maxSubscribers) phase(int phase) recoveryInterval(long recoveryInterval) Only applies if thecontainerType(Class)is aDefaultMessageListenerContainer.subscriptionShared(boolean subscriptionShared) taskExecutor(Executor taskExecutor) Only applies if thecontainerType(Class)is aDefaultMessageListenerContaineror aSimpleMessageListenerContainer.transactionManager(PlatformTransactionManager transactionManager) Only applies if thecontainerType(Class)is aDefaultMessageListenerContainer.transactionName(String transactionName) Only applies if thecontainerType(Class)is aDefaultMessageListenerContainer.transactionTimeout(int transactionTimeout) Only applies if thecontainerType(Class)is aDefaultMessageListenerContainer.Methods inherited from class org.springframework.integration.jms.dsl.JmsPollableMessageChannelSpecdeliveryPersistent, destination, destination, destinationResolver, doGet, explicitQosEnabled, id, jmsMessageConverter, messageIdEnabled, messageSelector, messageTimestampEnabled, priority, receiveTimeout, sessionAcknowledgeMode, sessionTransacted, timeToLiveMethods inherited from class org.springframework.integration.dsl.MessageChannelSpecdatatype, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
JmsMessageChannelSpec
 
- 
- 
Method Details- 
containerTypeConfigure the type of the container.AbstractMessageListenerContainer. Defaults toDefaultMessageListenerContainer.- Parameters:
- containerType- the containerType.
- Returns:
- the current JmsMessageChannelSpec.
 
- 
concurrentConsumersOnly applies if thecontainerType(Class)is aDefaultMessageListenerContaineror aSimpleMessageListenerContainer.- Parameters:
- concurrentConsumers- the concurrentConsumers.
- Returns:
- the current JmsMessageChannelSpec.
- See Also:
 
- 
maxSubscribers- Parameters:
- maxSubscribers- the maxSubscribers.
- Returns:
- the current JmsMessageChannelSpec.
- See Also:
 
- 
autoStartup- Parameters:
- autoStartup- the autoStartup.
- Returns:
- the current JmsMessageChannelSpec.
- See Also:
 
- 
phase- Parameters:
- phase- the phase.
- Returns:
- the current JmsMessageChannelSpec.
- See Also:
 
- 
errorHandler- Parameters:
- errorHandler- the errorHandler.
- Returns:
- the current JmsMessageChannelSpec.
- See Also:
 
- 
exposeListenerSession- Parameters:
- exposeListenerSession- the exposeListenerSession.
- Returns:
- the current JmsMessageChannelSpec.
- See Also:
 
- 
acceptMessagesWhileStopping- Parameters:
- acceptMessagesWhileStopping- the acceptMessagesWhileStopping.
- Returns:
- the current JmsMessageChannelSpec.
- See Also:
 
- 
idleTaskExecutionLimitOnly applies if thecontainerType(Class)is aDefaultMessageListenerContainer.- Parameters:
- idleTaskExecutionLimit- the idleTaskExecutionLimit.
- Returns:
- the current JmsMessageChannelSpec.
- See Also:
 
- 
maxMessagesPerTaskOnly applies if thecontainerType(Class)is aDefaultMessageListenerContainer.- Parameters:
- maxMessagesPerTask- the maxMessagesPerTask.
- Returns:
- the current JmsMessageChannelSpec.
- See Also:
 
- 
recoveryIntervalOnly applies if thecontainerType(Class)is aDefaultMessageListenerContainer.- Parameters:
- recoveryInterval- the recoveryInterval.
- Returns:
- the current JmsMessageChannelSpec.
- See Also:
 
- 
taskExecutorOnly applies if thecontainerType(Class)is aDefaultMessageListenerContaineror aSimpleMessageListenerContainer.- Parameters:
- taskExecutor- the taskExecutor.
- Returns:
- the current JmsMessageChannelSpec.
- See Also:
 
- 
transactionManagerOnly applies if thecontainerType(Class)is aDefaultMessageListenerContainer.- Parameters:
- transactionManager- the transactionManager.
- Returns:
- the current JmsMessageChannelSpec.
- See Also:
 
- 
transactionNameOnly applies if thecontainerType(Class)is aDefaultMessageListenerContainer.- Parameters:
- transactionName- the transactionName.
- Returns:
- the current JmsMessageChannelSpec.
- See Also:
 
- 
transactionTimeoutOnly applies if thecontainerType(Class)is aDefaultMessageListenerContainer.- Parameters:
- transactionTimeout- the transactionTimeout.
- Returns:
- the current JmsMessageChannelSpec.
- See Also:
 
- 
cacheLevelOnly applies if thecontainerType(Class)is aDefaultMessageListenerContainer.- Parameters:
- cacheLevel- the value for- org.springframework.jms.listener.DefaultMessageListenerContainer.cacheLevel
- Returns:
- the current JmsMessageChannelSpec.
- See Also:
 
 
-