public class MarshallingWebServiceInboundGateway extends AbstractWebServiceInboundGateway
messagingTemplatelifecycleCondition, lifecycleLockEXPRESSION_PARSER, logger| Constructor and Description |
|---|
MarshallingWebServiceInboundGateway()
Creates a new
MarshallingWebServiceInboundGateway. |
MarshallingWebServiceInboundGateway(org.springframework.oxm.Marshaller marshaller)
Creates a new
MarshallingWebServiceInboundGateway with the given marshaller. |
MarshallingWebServiceInboundGateway(org.springframework.oxm.Marshaller marshaller,
org.springframework.oxm.Unmarshaller unmarshaller)
Creates a new
MarshallingWebServiceInboundGateway with the given marshaller and unmarshaller. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInvoke(org.springframework.ws.context.MessageContext messageContext) |
protected void |
onInit() |
void |
setMarshaller(org.springframework.oxm.Marshaller marshaller) |
void |
setUnmarshaller(org.springframework.oxm.Unmarshaller unmarshaller) |
afterShutdown, beforeShutdown, fromSoapHeaders, getComponentType, getHeaderMapper, invoke, setHeaderMapper, toSoapHeadersbuildErrorMessage, buildSendTimer, destroy, doStart, doStop, getErrorChannel, getErrorMessageAttributes, getIntegrationPatternType, getManagedName, getManagedType, getOverrides, getReplyChannel, getRequestChannel, isLoggingEnabled, receive, receive, receiveMessage, receiveMessage, registerMetricsCaptor, registerReplyMessageCorrelatorIfNecessary, send, sendAndReceive, sendAndReceiveMessage, sendAndReceiveMessageReactive, sendTimer, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setErrorOnTimeout, setLoggingEnabled, setManagedName, setManagedType, setReplyChannel, setReplyChannelName, setReplyMapper, setReplyTimeout, setRequestChannel, setRequestChannelName, setRequestMapper, setRequestTimeout, setShouldTrackdoStop, 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, waitpublic MarshallingWebServiceInboundGateway()
MarshallingWebServiceInboundGateway.
The Marshaller and Unmarshaller must be injected using properties.public MarshallingWebServiceInboundGateway(org.springframework.oxm.Marshaller marshaller)
MarshallingWebServiceInboundGateway with the given marshaller.
The Marshaller must also implement Unmarshaller, since it is used for both marshalling and
unmarshalling.
Note that all Marshaller implementations in Spring-OXM also implement the Unmarshaller
interface, so you can safely use this constructor for any of those implementations.
marshaller - object used as marshaller and unmarshallerjava.lang.IllegalArgumentException - when marshaller does not implement UnmarshallerMarshallingWebServiceInboundGateway(Marshaller, Unmarshaller)public MarshallingWebServiceInboundGateway(org.springframework.oxm.Marshaller marshaller,
org.springframework.oxm.Unmarshaller unmarshaller)
MarshallingWebServiceInboundGateway with the given marshaller and unmarshaller.marshaller - The marshaller.unmarshaller - The unmarshaller.public void setMarshaller(org.springframework.oxm.Marshaller marshaller)
public void setUnmarshaller(org.springframework.oxm.Unmarshaller unmarshaller)
protected void onInit()
onInit in class org.springframework.integration.gateway.MessagingGatewaySupportprotected void doInvoke(org.springframework.ws.context.MessageContext messageContext)
throws java.io.IOException
doInvoke in class AbstractWebServiceInboundGatewayjava.io.IOException