S - the target JmsListenerContainerSpec implementation type.C - the target AbstractMessageListenerContainer implementation type.public class JmsListenerContainerSpec<S extends JmsListenerContainerSpec<S,C>,C extends AbstractMessageListenerContainer> extends JmsDestinationAccessorSpec<S,C>
PARSER, targetloggerDEFAULT_PHASE| Modifier and Type | Method and Description |
|---|---|
S |
acceptMessagesWhileStopping(boolean acceptMessagesWhileStopping) |
S |
clientId(String clientId) |
S |
durableSubscriptionName(String durableSubscriptionName) |
S |
errorHandler(ErrorHandler errorHandler) |
S |
exceptionListener(ExceptionListener exceptionListener) |
S |
exposeListenerSession(boolean exposeListenerSession) |
S |
messageSelector(String messageSelector) |
S |
subscriptionDurable(boolean subscriptionDurable) |
S |
subscriptionShared(boolean subscriptionShared)
Set whether to make the subscription shared.
|
destinationResolver, id, pubSubDomain, sessionAcknowledgeMode, sessionAcknowledgeModeName, sessionTransacted_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopafterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingletonpublic S messageSelector(String messageSelector)
messageSelector - the messageSelector.AbstractMessageListenerContainer.setMessageSelector(String)public S subscriptionDurable(boolean subscriptionDurable)
subscriptionDurable - the subscriptionDurable.AbstractMessageListenerContainer.setSubscriptionDurable(boolean)public S durableSubscriptionName(String durableSubscriptionName)
durableSubscriptionName - the durableSubscriptionName.AbstractMessageListenerContainer.setDurableSubscriptionName(String)public S subscriptionShared(boolean subscriptionShared)
subscriptionShared - make the subscription shared or not.AbstractMessageListenerContainer.setSubscriptionShared(boolean)public S exceptionListener(ExceptionListener exceptionListener)
exceptionListener - the exceptionListener.AbstractMessageListenerContainer.setExceptionListener(ExceptionListener)public S errorHandler(ErrorHandler errorHandler)
errorHandler - the errorHandler.AbstractMessageListenerContainer.setErrorHandler(ErrorHandler)public S exposeListenerSession(boolean exposeListenerSession)
exposeListenerSession - the exposeListenerSession.AbstractMessageListenerContainer.setExposeListenerSession(boolean)public S acceptMessagesWhileStopping(boolean acceptMessagesWhileStopping)
acceptMessagesWhileStopping - the acceptMessagesWhileStopping.AbstractMessageListenerContainer.setAcceptMessagesWhileStopping(boolean)public S clientId(String clientId)
clientId - the clientId.AbstractJmsListeningContainer.setClientId(String)