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 |
setOutputChannel(org.springframework.messaging.MessageChannel requestChannel) |
void |
setSendTimeout(long requestTimeout) |
void |
setShouldTrack(boolean shouldTrack) |
sendMessagegetPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stopafterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setBeanFactory, setBeanName, setConversionService, setMessageBuilderFactory, toStringpublic 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.MessageProducersetOutputChannel in class org.springframework.integration.endpoint.MessageProducerSupportpublic void setErrorChannel(org.springframework.messaging.MessageChannel errorChannel)
setErrorChannel in class org.springframework.integration.endpoint.MessageProducerSupportpublic void setSendTimeout(long requestTimeout)
setSendTimeout in class org.springframework.integration.endpoint.MessageProducerSupportpublic void setShouldTrack(boolean shouldTrack)
setShouldTrack in interface org.springframework.integration.history.TrackableComponentsetShouldTrack in class org.springframework.integration.endpoint.MessageProducerSupportpublic java.lang.String getComponentType()
getComponentType in interface org.springframework.integration.support.context.NamedComponentgetComponentType in class org.springframework.integration.context.IntegrationObjectSupportpublic void setComponentName(java.lang.String componentName)
setComponentName in class org.springframework.integration.context.IntegrationObjectSupportpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwaresetApplicationContext in class org.springframework.integration.context.IntegrationObjectSupportorg.springframework.beans.BeansExceptionprotected void onInit()
onInit in class org.springframework.integration.endpoint.MessageProducerSupportprotected void doStart()
doStart in class org.springframework.integration.endpoint.MessageProducerSupportprotected void doStop()
doStop in class org.springframework.integration.endpoint.MessageProducerSupportpublic void destroy()
throws java.lang.Exception
destroy in interface org.springframework.beans.factory.DisposableBeanjava.lang.Exceptionpublic int beforeShutdown()
beforeShutdown in interface org.springframework.integration.context.OrderlyShutdownCapablepublic int afterShutdown()
afterShutdown in interface org.springframework.integration.context.OrderlyShutdownCapable