public class JmsInboundGateway
extends org.springframework.integration.gateway.MessagingGatewaySupport
implements org.springframework.beans.factory.DisposableBean, org.springframework.integration.context.OrderlyShutdownCapable
| Constructor and Description |
|---|
JmsInboundGateway(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 |
setReplyChannel(org.springframework.messaging.MessageChannel replyChannel) |
void |
setReplyTimeout(long replyTimeout) |
void |
setRequestChannel(org.springframework.messaging.MessageChannel requestChannel) |
void |
setRequestTimeout(long requestTimeout) |
void |
setShouldTrack(boolean shouldTrack) |
receive, send, sendAndReceive, sendAndReceiveMessage, setReplyMapper, setRequestMappergetPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stopafterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setBeanFactory, setBeanName, setConversionService, setMessageBuilderFactory, toStringpublic JmsInboundGateway(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer,
org.springframework.integration.jms.ChannelPublishingJmsMessageListener listener)
public void setRequestChannel(org.springframework.messaging.MessageChannel requestChannel)
setRequestChannel in class org.springframework.integration.gateway.MessagingGatewaySupportpublic void setReplyChannel(org.springframework.messaging.MessageChannel replyChannel)
setReplyChannel in class org.springframework.integration.gateway.MessagingGatewaySupportpublic void setErrorChannel(org.springframework.messaging.MessageChannel errorChannel)
setErrorChannel in class org.springframework.integration.gateway.MessagingGatewaySupportpublic void setRequestTimeout(long requestTimeout)
setRequestTimeout in class org.springframework.integration.gateway.MessagingGatewaySupportpublic void setReplyTimeout(long replyTimeout)
setReplyTimeout in class org.springframework.integration.gateway.MessagingGatewaySupportpublic void setShouldTrack(boolean shouldTrack)
setShouldTrack in interface org.springframework.integration.history.TrackableComponentsetShouldTrack in class org.springframework.integration.gateway.MessagingGatewaySupportpublic java.lang.String getComponentType()
getComponentType in interface org.springframework.integration.support.context.NamedComponentgetComponentType in class org.springframework.integration.gateway.MessagingGatewaySupportpublic 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()
throws java.lang.Exception
onInit in class org.springframework.integration.gateway.MessagingGatewaySupportjava.lang.Exceptionprotected void doStart()
doStart in class org.springframework.integration.gateway.MessagingGatewaySupportprotected void doStop()
doStop in class org.springframework.integration.gateway.MessagingGatewaySupportpublic 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