Package org.springframework.jms.config
Class DefaultJcaListenerContainerFactory
java.lang.Object
org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
org.springframework.jms.config.DefaultJcaListenerContainerFactory
- All Implemented Interfaces:
JmsListenerContainerFactory<JmsMessageEndpointManager>
public class DefaultJcaListenerContainerFactory
extends JmsActivationSpecConfig
implements JmsListenerContainerFactory<JmsMessageEndpointManager>
A
JmsListenerContainerFactory
implementation to build a
JCA-based JmsMessageEndpointManager
.- Since:
- 4.1
- Author:
- Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected JmsMessageEndpointManager
Create an empty container instance.createListenerContainer
(JmsListenerEndpoint endpoint) Create aMessageListenerContainer
for the givenJmsListenerEndpoint
.void
setActivationSpecFactory
(JmsActivationSpecFactory activationSpecFactory) void
setDestinationResolver
(DestinationResolver destinationResolver) void
setPhase
(int phase) void
setResourceAdapter
(ResourceAdapter resourceAdapter) void
setTransactionManager
(Object transactionManager) Methods inherited from class org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
getAcknowledgeMode, getClientId, getDestinationName, getDurableSubscriptionName, getMaxConcurrency, getMessageConverter, getMessageSelector, getPrefetchSize, getReplyQosSettings, getSubscriptionName, isPubSubDomain, isReplyPubSubDomain, isSubscriptionDurable, isSubscriptionShared, setAcknowledgeMode, setAcknowledgeModeName, setClientId, setConcurrency, setDestinationName, setDurableSubscriptionName, setMaxConcurrency, setMessageConverter, setMessageSelector, setPrefetchSize, setPubSubDomain, setReplyPubSubDomain, setReplyQosSettings, setSubscriptionDurable, setSubscriptionName, setSubscriptionShared
-
Constructor Details
-
DefaultJcaListenerContainerFactory
public DefaultJcaListenerContainerFactory()
-
-
Method Details
-
setResourceAdapter
-
setActivationSpecFactory
-
setDestinationResolver
-
setTransactionManager
-
setPhase
public void setPhase(int phase) -
createListenerContainer
Description copied from interface:JmsListenerContainerFactory
Create aMessageListenerContainer
for the givenJmsListenerEndpoint
.- Specified by:
createListenerContainer
in interfaceJmsListenerContainerFactory<JmsMessageEndpointManager>
- Parameters:
endpoint
- the endpoint to configure- Returns:
- the created container
-
createContainerInstance
Create an empty container instance.
-