Class MarshallingWebServiceOutboundGateway
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.MessageHandlerSupport
org.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.handler.AbstractMessageProducingHandler
org.springframework.integration.handler.AbstractReplyProducingMessageHandler
org.springframework.integration.ws.outbound.AbstractWebServiceOutboundGateway
org.springframework.integration.ws.outbound.MarshallingWebServiceOutboundGateway
- All Implemented Interfaces:
org.reactivestreams.Subscriber<Message<?>>, Aware, BeanClassLoaderAware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Ordered, ComponentSourceAware, ExpressionCapable, Orderable, MessageProducer, HeaderPropagationAware, IntegrationPattern, NamedComponent, IntegrationManagement, TrackableComponent, MessageHandler, reactor.core.CoreSubscriber<Message<?>>
- Direct Known Subclasses:
MarshallingWebServiceOutboundGateway
An outbound Messaging Gateway for invoking Web Services that also supports
marshalling and unmarshalling of the request and response messages.
- Since:
- 7.0
- Author:
- Mark Fisher, Oleg Zhurakousky, Gary Russell, Artem Bilan
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractWebServiceOutboundGateway
AbstractWebServiceOutboundGateway.RequestMessageCallback, AbstractWebServiceOutboundGateway.ResponseMessageExtractorNested classes/interfaces inherited from class AbstractReplyProducingMessageHandler
AbstractReplyProducingMessageHandler.RequestHandlerNested classes/interfaces inherited from interface IntegrationManagement
IntegrationManagement.ManagementOverrides -
Field Summary
Fields inherited from class AbstractWebServiceOutboundGateway
uriFactoryFields inherited from class AbstractMessageProducingHandler
messagingTemplateFields inherited from class IntegrationObjectSupport
EXPRESSION_PARSER, loggerFields inherited from interface IntegrationManagement
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAMEFields inherited from interface Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionMarshallingWebServiceOutboundGateway(@Nullable String uri, Marshaller marshaller, @Nullable Unmarshaller unmarshaller, @Nullable WebServiceMessageFactory messageFactory) MarshallingWebServiceOutboundGateway(@Nullable String uri, WebServiceTemplate webServiceTemplate) Construct an instance based on the provided Web Service URI andWebServiceTemplate.MarshallingWebServiceOutboundGateway(String uri, Marshaller marshaller) MarshallingWebServiceOutboundGateway(String uri, Marshaller marshaller, Unmarshaller unmarshaller) MarshallingWebServiceOutboundGateway(String uri, Marshaller marshaller, @Nullable WebServiceMessageFactory messageFactory) MarshallingWebServiceOutboundGateway(DestinationProvider destinationProvider, Marshaller marshaller) MarshallingWebServiceOutboundGateway(DestinationProvider destinationProvider, Marshaller marshaller, @Nullable Unmarshaller unmarshaller, @Nullable WebServiceMessageFactory messageFactory) MarshallingWebServiceOutboundGateway(DestinationProvider destinationProvider, Marshaller marshaller, Unmarshaller unmarshaller) MarshallingWebServiceOutboundGateway(DestinationProvider destinationProvider, Marshaller marshaller, @Nullable WebServiceMessageFactory messageFactory) MarshallingWebServiceOutboundGateway(DestinationProvider destinationProvider, WebServiceTemplate webServiceTemplate) Construct an instance based on the providedDestinationProviderandWebServiceTemplate. -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable ObjectdoHandle(String uri, Message<?> requestMessage, @Nullable WebServiceMessageCallback requestCallback) Methods inherited from class AbstractWebServiceOutboundGateway
doInit, doSetWebServiceTemplate, getWebServiceTemplate, handleRequestMessage, setEncodingMode, setFaultMessageResolver, setHeaderMapper, setIgnoreEmptyResponses, setInterceptors, setMessageFactory, setMessageSenders, setReplyChannel, setRequestCallback, setUriVariableExpressions, setWebServiceTemplateMethods inherited from class AbstractReplyProducingMessageHandler
doInvokeAdvisedRequestHandler, getBeanClassLoader, getIntegrationPatternType, getRequiresReply, handleMessageInternal, hasAdviceChain, onInit, setAdviceChain, setBeanClassLoader, setRequiresReplyMethods inherited from class AbstractMessageProducingHandler
addNotPropagatedHeaders, createOutputMessage, getNotPropagatedHeaders, getOutputChannel, isAsync, messageBuilderForReply, produceOutput, resolveErrorChannel, sendErrorMessage, sendOutput, sendOutputs, setAsync, setNotPropagatedHeaders, setOutputChannel, setOutputChannelName, setSendTimeout, setupMessageProcessor, shouldCopyRequestHeaders, shouldSplitOutput, updateNotPropagatedHeadersMethods inherited from class AbstractMessageHandler
handleMessage, onComplete, onError, onNext, onSubscribe, setObservationConventionMethods inherited from class MessageHandlerSupport
buildSendTimer, destroy, getManagedName, getManagedType, getMetricsCaptor, getObservationRegistry, getOrder, getOverrides, isLoggingEnabled, isObserved, registerMetricsCaptor, registerObservationRegistry, sendTimer, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, shouldTrackMethods inherited from class IntegrationObjectSupport
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentDescription, getComponentName, getComponentSource, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentDescription, setComponentName, setComponentSource, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface reactor.core.CoreSubscriber
currentContextMethods inherited from interface IntegrationManagement
getThisAsMethods inherited from interface NamedComponent
getBeanName, getComponentName
-
Constructor Details
-
MarshallingWebServiceOutboundGateway
public MarshallingWebServiceOutboundGateway(DestinationProvider destinationProvider, Marshaller marshaller, @Nullable Unmarshaller unmarshaller, @Nullable WebServiceMessageFactory messageFactory) -
MarshallingWebServiceOutboundGateway
public MarshallingWebServiceOutboundGateway(DestinationProvider destinationProvider, Marshaller marshaller, Unmarshaller unmarshaller) -
MarshallingWebServiceOutboundGateway
public MarshallingWebServiceOutboundGateway(DestinationProvider destinationProvider, Marshaller marshaller, @Nullable WebServiceMessageFactory messageFactory) -
MarshallingWebServiceOutboundGateway
public MarshallingWebServiceOutboundGateway(DestinationProvider destinationProvider, Marshaller marshaller) -
MarshallingWebServiceOutboundGateway
public MarshallingWebServiceOutboundGateway(@Nullable String uri, Marshaller marshaller, @Nullable Unmarshaller unmarshaller, @Nullable WebServiceMessageFactory messageFactory) -
MarshallingWebServiceOutboundGateway
public MarshallingWebServiceOutboundGateway(String uri, Marshaller marshaller, Unmarshaller unmarshaller) -
MarshallingWebServiceOutboundGateway
public MarshallingWebServiceOutboundGateway(String uri, Marshaller marshaller, @Nullable WebServiceMessageFactory messageFactory) -
MarshallingWebServiceOutboundGateway
-
MarshallingWebServiceOutboundGateway
public MarshallingWebServiceOutboundGateway(@Nullable String uri, WebServiceTemplate webServiceTemplate) Construct an instance based on the provided Web Service URI andWebServiceTemplate.- Parameters:
uri- the Web Service URI to usewebServiceTemplate- the WebServiceTemplate- Since:
- 5.0
-
MarshallingWebServiceOutboundGateway
public MarshallingWebServiceOutboundGateway(DestinationProvider destinationProvider, WebServiceTemplate webServiceTemplate) Construct an instance based on the providedDestinationProviderandWebServiceTemplate.- Parameters:
destinationProvider- theDestinationProviderto resolve Web Service URI at runtimewebServiceTemplate- the WebServiceTemplate- Since:
- 5.0
-
-
Method Details
-
getComponentType
- Specified by:
getComponentTypein interfaceNamedComponent- Overrides:
getComponentTypein classMessageHandlerSupport
-
doHandle
protected @Nullable Object doHandle(String uri, Message<?> requestMessage, @Nullable WebServiceMessageCallback requestCallback) - Specified by:
doHandlein classAbstractWebServiceOutboundGateway
-