public abstract class AbstractWebServiceInboundGateway extends MessagingGatewaySupport implements MessageEndpoint, OrderlyShutdownCapable
| Modifier and Type | Field and Description |
|---|---|
protected SoapHeaderMapper |
headerMapper |
lifecycleCondition, lifecycleLockEXPRESSION_PARSER, logger| 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.
|
void |
invoke(MessageContext messageContext) |
void |
setHeaderMapper(SoapHeaderMapper headerMapper) |
protected void |
toSoapHeaders(WebServiceMessage response,
Message<?> replyMessage) |
doStart, doStop, getErrorChannel, getManagedName, getManagedType, getMessageCount, getMessageCountLong, getReplyChannel, getRequestChannel, isCountsEnabled, isLoggingEnabled, onInit, receive, reset, send, sendAndReceive, sendAndReceiveMessage, setCountsEnabled, setErrorChannel, setErrorChannelName, setLoggingEnabled, setManagedName, setManagedType, setReplyChannel, setReplyChannelName, setReplyMapper, setReplyTimeout, setRequestChannel, setRequestChannelName, setRequestMapper, setRequestTimeout, setShouldTrackdoStop, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stopafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentNameprotected volatile SoapHeaderMapper headerMapper
public String getComponentType()
IntegrationObjectSupportgetComponentType in interface NamedComponentgetComponentType in class MessagingGatewaySupportpublic void setHeaderMapper(SoapHeaderMapper headerMapper)
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 Exception
Exception