public abstract class AbstractWebServiceInboundGateway extends MessagingGatewaySupport implements MessageEndpoint, OrderlyShutdownCapable
IntegrationManagement.ManagementOverridesmessagingTemplatelifecycleCondition, lifecycleLockEXPRESSION_PARSER, loggerMETER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAMEDEFAULT_PHASE| Constructor and Description |
|---|
AbstractWebServiceInboundGateway() |
| Modifier and Type | Method and Description |
|---|---|
int |
afterShutdown()
Called after normal shutdown of schedulers, executors etc,
and after the shutdown delay has elapsed, but before any
forced shutdown of any remaining active scheduler/executor
threads.Can optionally return the number of active messages
still in process.
|
int |
beforeShutdown()
Called before shutdown begins.
|
protected abstract void |
doInvoke(MessageContext messageContext) |
protected void |
fromSoapHeaders(MessageContext messageContext,
AbstractIntegrationMessageBuilder<?> builder) |
String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
protected SoapHeaderMapper |
getHeaderMapper() |
void |
invoke(MessageContext messageContext) |
void |
setHeaderMapper(SoapHeaderMapper headerMapper) |
protected void |
toSoapHeaders(WebServiceMessage response,
Message<?> replyMessage) |
buildErrorMessage, doStart, doStop, getErrorChannel, getErrorMessageAttributes, getManagedName, getManagedType, getMessageCount, getMessageCountLong, getOverrides, getReplyChannel, getRequestChannel, isCountsEnabled, isLoggingEnabled, onInit, receive, receive, receiveMessage, receiveMessage, registerReplyMessageCorrelatorIfNecessary, reset, send, sendAndReceive, sendAndReceiveMessage, sendAndReceiveMessageReactive, setCountsEnabled, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setErrorOnTimeout, setLoggingEnabled, setManagedName, setManagedType, setReplyChannel, setReplyChannelName, setReplyMapper, setReplyTimeout, setRequestChannel, setRequestChannelName, setRequestMapper, setRequestTimeout, setShouldTrackdestroy, doStop, getPhase, getRole, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stopafterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBeanName, getComponentNamemessageCountdestroy, registerMetricsCaptorpublic String getComponentType()
IntegrationObjectSupportgetComponentType in interface NamedComponentgetComponentType in class MessagingGatewaySupportpublic void setHeaderMapper(SoapHeaderMapper headerMapper)
protected SoapHeaderMapper getHeaderMapper()
public void invoke(MessageContext messageContext) throws Exception
invoke in interface MessageEndpointExceptionprotected void fromSoapHeaders(MessageContext messageContext, AbstractIntegrationMessageBuilder<?> builder)
protected void toSoapHeaders(WebServiceMessage response, Message<?> replyMessage)
public int beforeShutdown()
OrderlyShutdownCapablebeforeShutdown in interface OrderlyShutdownCapablepublic int afterShutdown()
OrderlyShutdownCapableafterShutdown in interface OrderlyShutdownCapableprotected abstract void doInvoke(MessageContext messageContext) throws IOException
IOException