C
- the container typepublic abstract class AbstractJmsListenerContainerFactory<C extends AbstractMessageListenerContainer> extends Object implements JmsListenerContainerFactory<C>
JmsListenerContainerFactory
for Spring's base container implementation.AbstractMessageListenerContainer
Constructor and Description |
---|
AbstractJmsListenerContainerFactory() |
Modifier and Type | Method and Description |
---|---|
protected abstract C |
createContainerInstance()
Create an empty container instance.
|
C |
createListenerContainer(JmsListenerEndpoint endpoint)
Create a
MessageListenerContainer for the given JmsListenerEndpoint . |
protected void |
initializeContainer(C instance)
Further initialize the specified container.
|
void |
setAutoStartup(boolean autoStartup) |
void |
setClientId(String clientId) |
void |
setConnectionFactory(ConnectionFactory connectionFactory) |
void |
setDestinationResolver(DestinationResolver destinationResolver) |
void |
setErrorHandler(ErrorHandler errorHandler) |
void |
setExceptionListener(ExceptionListener exceptionListener) |
void |
setMessageConverter(MessageConverter messageConverter) |
void |
setPhase(int phase) |
void |
setPubSubDomain(Boolean pubSubDomain) |
void |
setReplyPubSubDomain(Boolean replyPubSubDomain) |
void |
setReplyQosSettings(QosSettings replyQosSettings) |
void |
setSessionAcknowledgeMode(Integer sessionAcknowledgeMode) |
void |
setSessionTransacted(Boolean sessionTransacted) |
void |
setSubscriptionDurable(Boolean subscriptionDurable) |
void |
setSubscriptionShared(Boolean subscriptionShared) |
protected final Log logger
public void setConnectionFactory(ConnectionFactory connectionFactory)
public void setDestinationResolver(DestinationResolver destinationResolver)
public void setMessageConverter(MessageConverter messageConverter)
public void setExceptionListener(ExceptionListener exceptionListener)
AbstractMessageListenerContainer.setExceptionListener(ExceptionListener)
public void setErrorHandler(ErrorHandler errorHandler)
public void setSessionTransacted(Boolean sessionTransacted)
public void setSessionAcknowledgeMode(Integer sessionAcknowledgeMode)
public void setPubSubDomain(Boolean pubSubDomain)
public void setReplyPubSubDomain(Boolean replyPubSubDomain)
public void setReplyQosSettings(QosSettings replyQosSettings)
public void setSubscriptionDurable(Boolean subscriptionDurable)
public void setSubscriptionShared(Boolean subscriptionShared)
public void setClientId(String clientId)
public void setPhase(int phase)
public void setAutoStartup(boolean autoStartup)
public C createListenerContainer(JmsListenerEndpoint endpoint)
JmsListenerContainerFactory
MessageListenerContainer
for the given JmsListenerEndpoint
.createListenerContainer
in interface JmsListenerContainerFactory<C extends AbstractMessageListenerContainer>
endpoint
- the endpoint to configureprotected abstract C createContainerInstance()
protected void initializeContainer(C instance)
Subclasses can inherit from this method to apply extra configuration if necessary.