public class JmsInboundGateway
extends org.springframework.integration.gateway.MessagingGatewaySupport
implements org.springframework.beans.factory.DisposableBean, org.springframework.integration.context.OrderlyShutdownCapable
messagingTemplate
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) |
getErrorChannel, getManagedName, getManagedType, getMessageCount, getMessageCountLong, getReplyChannel, getRequestChannel, isCountsEnabled, isLoggingEnabled, receive, receiveMessage, reset, send, sendAndReceive, sendAndReceiveMessage, setCountsEnabled, setErrorChannelName, setLoggingEnabled, setManagedName, setManagedType, setReplyChannelName, setReplyMapper, setRequestChannelName, setRequestMapper
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 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.MessagingGatewaySupport
public void setReplyChannel(org.springframework.messaging.MessageChannel replyChannel)
setReplyChannel
in class org.springframework.integration.gateway.MessagingGatewaySupport
public void setErrorChannel(org.springframework.messaging.MessageChannel errorChannel)
setErrorChannel
in class org.springframework.integration.gateway.MessagingGatewaySupport
public void setRequestTimeout(long requestTimeout)
setRequestTimeout
in class org.springframework.integration.gateway.MessagingGatewaySupport
public void setReplyTimeout(long replyTimeout)
setReplyTimeout
in class org.springframework.integration.gateway.MessagingGatewaySupport
public void setShouldTrack(boolean shouldTrack)
setShouldTrack
in interface org.springframework.integration.support.management.TrackableComponent
setShouldTrack
in class org.springframework.integration.gateway.MessagingGatewaySupport
public java.lang.String getComponentType()
getComponentType
in interface org.springframework.integration.support.context.NamedComponent
getComponentType
in class org.springframework.integration.gateway.MessagingGatewaySupport
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() throws java.lang.Exception
onInit
in class org.springframework.integration.gateway.MessagingGatewaySupport
java.lang.Exception
protected void doStart()
doStart
in class org.springframework.integration.gateway.MessagingGatewaySupport
protected void doStop()
doStop
in class org.springframework.integration.gateway.MessagingGatewaySupport
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