org.springframework.integration.jms
Class AbstractJmsTemplateBasedAdapter
java.lang.Object
org.springframework.integration.jms.AbstractJmsTemplateBasedAdapter
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
- JmsDestinationPollingSource, JmsSendingMessageHandler
public abstract class AbstractJmsTemplateBasedAdapter
- extends java.lang.Object
- implements org.springframework.beans.factory.InitializingBean
Base class for adapters that delegate to a JmsTemplate
.
- Author:
- Mark Fisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractJmsTemplateBasedAdapter
public AbstractJmsTemplateBasedAdapter(org.springframework.jms.core.JmsTemplate jmsTemplate)
AbstractJmsTemplateBasedAdapter
public AbstractJmsTemplateBasedAdapter(javax.jms.ConnectionFactory connectionFactory,
javax.jms.Destination destination)
AbstractJmsTemplateBasedAdapter
public AbstractJmsTemplateBasedAdapter(javax.jms.ConnectionFactory connectionFactory,
java.lang.String destinationName)
AbstractJmsTemplateBasedAdapter
public AbstractJmsTemplateBasedAdapter()
- No-arg constructor provided for convenience when configuring with
setters. Note that the initialization callback will validate.
setConnectionFactory
public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
setDestination
public void setDestination(javax.jms.Destination destination)
setDestinationName
public void setDestinationName(java.lang.String destinationName)
setDestinationResolver
public void setDestinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver)
setJmsTemplate
public void setJmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)
setHeaderMapper
public void setHeaderMapper(JmsHeaderMapper headerMapper)
getJmsTemplate
protected org.springframework.jms.core.JmsTemplate getJmsTemplate()
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
configureMessageConverter
protected abstract void configureMessageConverter(org.springframework.jms.core.JmsTemplate jmsTemplate,
JmsHeaderMapper headerMapper)