Class JmsListenerContainerSpec<S extends JmsListenerContainerSpec<S,C>,C extends AbstractMessageListenerContainer>
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,A>
org.springframework.integration.jms.dsl.JmsDestinationAccessorSpec<S,C>
org.springframework.integration.jms.dsl.JmsListenerContainerSpec<S,C>
- Type Parameters:
S- the targetJmsListenerContainerSpecimplementation type.C- the targetAbstractMessageListenerContainerimplementation type.
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<C>,InitializingBean,Lifecycle,Phased,SmartLifecycle
- Direct Known Subclasses:
JmsDefaultListenerContainerSpec
public class JmsListenerContainerSpec<S extends JmsListenerContainerSpec<S,C>,C extends AbstractMessageListenerContainer> extends JmsDestinationAccessorSpec<S,C>
- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target -
Constructor Summary
Constructors Modifier Constructor Description protectedJmsListenerContainerSpec(Class<C> aClass) -
Method Summary
Modifier and Type Method Description SacceptMessagesWhileStopping(boolean acceptMessagesWhileStopping)SclientId(String clientId)SdurableSubscriptionName(String durableSubscriptionName)SerrorHandler(ErrorHandler errorHandler)SexceptionListener(javax.jms.ExceptionListener exceptionListener)SexposeListenerSession(boolean exposeListenerSession)SmessageSelector(String messageSelector)SsubscriptionDurable(boolean subscriptionDurable)SsubscriptionShared(boolean subscriptionShared)Set whether to make the subscription shared.Methods inherited from class org.springframework.integration.jms.dsl.JmsDestinationAccessorSpec
connectionFactory, destinationResolver, id, pubSubDomain, sessionAcknowledgeMode, sessionAcknowledgeModeName, sessionTransactedMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
Method Details
-
messageSelector
- Parameters:
messageSelector- the messageSelector.- Returns:
- the spec.
- See Also:
AbstractMessageListenerContainer.setMessageSelector(String)
-
subscriptionDurable
- Parameters:
subscriptionDurable- the subscriptionDurable.- Returns:
- the spec.
- See Also:
AbstractMessageListenerContainer.setSubscriptionDurable(boolean)
-
durableSubscriptionName
- Parameters:
durableSubscriptionName- the durableSubscriptionName.- Returns:
- the spec.
- See Also:
AbstractMessageListenerContainer.setDurableSubscriptionName(String)
-
subscriptionShared
Set whether to make the subscription shared.- Parameters:
subscriptionShared- make the subscription shared or not.- Returns:
- the spec.
- Since:
- 5.0.7
- See Also:
AbstractMessageListenerContainer.setSubscriptionShared(boolean)
-
exceptionListener
- Parameters:
exceptionListener- the exceptionListener.- Returns:
- the spec.
- See Also:
AbstractMessageListenerContainer.setExceptionListener(ExceptionListener)
-
errorHandler
- Parameters:
errorHandler- the errorHandler.- Returns:
- the spec.
- See Also:
AbstractMessageListenerContainer.setErrorHandler(ErrorHandler)
-
exposeListenerSession
- Parameters:
exposeListenerSession- the exposeListenerSession.- Returns:
- the spec.
- See Also:
AbstractMessageListenerContainer.setExposeListenerSession(boolean)
-
acceptMessagesWhileStopping
- Parameters:
acceptMessagesWhileStopping- the acceptMessagesWhileStopping.- Returns:
- the spec.
- See Also:
AbstractMessageListenerContainer.setAcceptMessagesWhileStopping(boolean)
-
clientId
- Parameters:
clientId- the clientId.- Returns:
- the spec.
- See Also:
AbstractJmsListeningContainer.setClientId(String)
-