public class DefaultJcaListenerContainerFactory extends JmsActivationSpecConfig implements JmsListenerContainerFactory<JmsMessageEndpointManager>
JmsListenerContainerFactory
implementation to build a
JCA-based JmsMessageEndpointManager
.Constructor and Description |
---|
DefaultJcaListenerContainerFactory() |
Modifier and Type | Method and Description |
---|---|
protected JmsMessageEndpointManager |
createContainerInstance()
Create an empty container instance.
|
JmsMessageEndpointManager |
createListenerContainer(JmsListenerEndpoint endpoint)
Create a
MessageListenerContainer for the given JmsListenerEndpoint . |
void |
setActivationSpecFactory(JmsActivationSpecFactory activationSpecFactory) |
void |
setDestinationResolver(DestinationResolver destinationResolver) |
void |
setPhase(int phase) |
void |
setResourceAdapter(ResourceAdapter resourceAdapter) |
void |
setTransactionManager(Object transactionManager) |
getAcknowledgeMode, getClientId, getDestinationName, getDurableSubscriptionName, getMaxConcurrency, getMessageConverter, getMessageSelector, getPrefetchSize, getSubscriptionName, isPubSubDomain, isReplyPubSubDomain, isSubscriptionDurable, isSubscriptionShared, setAcknowledgeMode, setAcknowledgeModeName, setClientId, setConcurrency, setDestinationName, setDurableSubscriptionName, setMaxConcurrency, setMessageConverter, setMessageSelector, setPrefetchSize, setPubSubDomain, setReplyPubSubDomain, setSubscriptionDurable, setSubscriptionName, setSubscriptionShared
public void setResourceAdapter(ResourceAdapter resourceAdapter)
public void setActivationSpecFactory(JmsActivationSpecFactory activationSpecFactory)
public void setDestinationResolver(DestinationResolver destinationResolver)
public void setTransactionManager(Object transactionManager)
public void setPhase(int phase)
public JmsMessageEndpointManager createListenerContainer(JmsListenerEndpoint endpoint)
JmsListenerContainerFactory
MessageListenerContainer
for the given JmsListenerEndpoint
.createListenerContainer
in interface JmsListenerContainerFactory<JmsMessageEndpointManager>
endpoint
- the endpoint to configureprotected JmsMessageEndpointManager createContainerInstance()