public class JmsMessageDrivenChannelAdapter
extends org.springframework.integration.endpoint.MessageProducerSupport
implements org.springframework.beans.factory.DisposableBean, org.springframework.integration.context.OrderlyShutdownCapable
Constructor and Description |
---|
JmsMessageDrivenChannelAdapter(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer,
org.springframework.integration.jms.ChannelPublishingJmsMessageListener listener) |
Modifier and Type | Method and Description |
---|---|
int |
afterShutdown() |
int |
beforeShutdown() |
void |
destroy() |
protected void |
doStart() |
protected void |
doStop() |
java.lang.String |
getComponentType() |
protected void |
onInit() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setComponentName(java.lang.String componentName) |
void |
setErrorChannel(org.springframework.messaging.MessageChannel errorChannel) |
void |
setErrorChannelName(java.lang.String errorChannelName) |
void |
setOutputChannel(org.springframework.messaging.MessageChannel requestChannel) |
void |
setOutputChannelName(java.lang.String requestChannelName) |
void |
setSendTimeout(long requestTimeout) |
void |
setShouldTrack(boolean shouldTrack) |
afterSingletonsInstantiated, getErrorChannel, getMessagingTemplate, getOutputChannel, sendMessage
doStop, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
afterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setBeanFactory, setBeanName, setChannelResolver, setConversionService, setMessageBuilderFactory, setPrimaryExpression, toString
public JmsMessageDrivenChannelAdapter(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer, org.springframework.integration.jms.ChannelPublishingJmsMessageListener listener)
public void setOutputChannel(org.springframework.messaging.MessageChannel requestChannel)
setOutputChannel
in interface org.springframework.integration.core.MessageProducer
setOutputChannel
in class org.springframework.integration.endpoint.MessageProducerSupport
public void setOutputChannelName(java.lang.String requestChannelName)
setOutputChannelName
in class org.springframework.integration.endpoint.MessageProducerSupport
public void setErrorChannel(org.springframework.messaging.MessageChannel errorChannel)
setErrorChannel
in class org.springframework.integration.endpoint.MessageProducerSupport
public void setErrorChannelName(java.lang.String errorChannelName)
setErrorChannelName
in class org.springframework.integration.endpoint.MessageProducerSupport
public void setSendTimeout(long requestTimeout)
setSendTimeout
in class org.springframework.integration.endpoint.MessageProducerSupport
public void setShouldTrack(boolean shouldTrack)
setShouldTrack
in interface org.springframework.integration.support.management.TrackableComponent
setShouldTrack
in class org.springframework.integration.endpoint.MessageProducerSupport
public java.lang.String getComponentType()
getComponentType
in interface org.springframework.integration.support.context.NamedComponent
getComponentType
in class org.springframework.integration.context.IntegrationObjectSupport
public void setComponentName(java.lang.String componentName)
setComponentName
in class org.springframework.integration.context.IntegrationObjectSupport
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
setApplicationContext
in class org.springframework.integration.context.IntegrationObjectSupport
org.springframework.beans.BeansException
protected void onInit()
onInit
in class org.springframework.integration.endpoint.MessageProducerSupport
protected void doStart()
doStart
in class org.springframework.integration.endpoint.MessageProducerSupport
protected void doStop()
doStop
in class org.springframework.integration.endpoint.MessageProducerSupport
public void destroy() throws java.lang.Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
java.lang.Exception
public int beforeShutdown()
beforeShutdown
in interface org.springframework.integration.context.OrderlyShutdownCapable
public int afterShutdown()
afterShutdown
in interface org.springframework.integration.context.OrderlyShutdownCapable