Package org.springframework.jms.config
Class DefaultJmsListenerContainerFactory
java.lang.Object
org.springframework.jms.config.AbstractJmsListenerContainerFactory<DefaultMessageListenerContainer>
org.springframework.jms.config.DefaultJmsListenerContainerFactory
- All Implemented Interfaces:
JmsListenerContainerFactory<DefaultMessageListenerContainer>
public class DefaultJmsListenerContainerFactory
extends AbstractJmsListenerContainerFactory<DefaultMessageListenerContainer>
A
JmsListenerContainerFactory
implementation to build a regular
DefaultMessageListenerContainer
.
This should be the default for most users and a good transition path for those who are used to building such a container definition manually.
- Since:
- 4.1
- Author:
- Stephane Nicoll
-
Field Summary
Fields inherited from class org.springframework.jms.config.AbstractJmsListenerContainerFactory
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DefaultMessageListenerContainer
Create an empty container instance.protected void
Further initialize the specified container.void
setBackOff
(BackOff backOff) void
setCacheLevel
(Integer cacheLevel) void
setCacheLevelName
(String cacheLevelName) void
setConcurrency
(String concurrency) void
setMaxMessagesPerTask
(Integer maxMessagesPerTask) void
setReceiveTimeout
(Long receiveTimeout) void
setRecoveryInterval
(Long recoveryInterval) void
setTaskExecutor
(Executor taskExecutor) void
setTransactionManager
(PlatformTransactionManager transactionManager) Methods inherited from class org.springframework.jms.config.AbstractJmsListenerContainerFactory
createListenerContainer, setAutoStartup, setClientId, setConnectionFactory, setDestinationResolver, setErrorHandler, setExceptionListener, setMessageConverter, setObservationRegistry, setPhase, setPubSubDomain, setReplyPubSubDomain, setReplyQosSettings, setSessionAcknowledgeMode, setSessionTransacted, setSubscriptionDurable, setSubscriptionShared
-
Constructor Details
-
DefaultJmsListenerContainerFactory
public DefaultJmsListenerContainerFactory()
-
-
Method Details
-
setTaskExecutor
-
setTransactionManager
-
setCacheLevel
-
setCacheLevelName
-
setConcurrency
-
setMaxMessagesPerTask
-
setReceiveTimeout
-
setRecoveryInterval
-
setBackOff
-
createContainerInstance
Description copied from class:AbstractJmsListenerContainerFactory
Create an empty container instance.- Specified by:
createContainerInstance
in classAbstractJmsListenerContainerFactory<DefaultMessageListenerContainer>
-
initializeContainer
Description copied from class:AbstractJmsListenerContainerFactory
Further initialize the specified container.Subclasses can inherit from this method to apply extra configuration if necessary.
- Overrides:
initializeContainer
in classAbstractJmsListenerContainerFactory<DefaultMessageListenerContainer>
-