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 SummaryNested classes/interfaces inherited from class org.springframework.integration.ws.outbound.AbstractWebServiceOutboundGatewayAbstractWebServiceOutboundGateway.RequestMessageCallback, AbstractWebServiceOutboundGateway.ResponseMessageExtractorNested classes/interfaces inherited from class org.springframework.integration.handler.AbstractReplyProducingMessageHandlerAbstractReplyProducingMessageHandler.RequestHandlerNested classes/interfaces inherited from interface org.springframework.integration.support.management.IntegrationManagementIntegrationManagement.ManagementOverrides
- 
Field SummaryFields inherited from class org.springframework.integration.ws.outbound.AbstractWebServiceOutboundGatewayuriFactoryFields inherited from class org.springframework.integration.handler.AbstractMessageProducingHandlermessagingTemplateFields inherited from class org.springframework.integration.context.IntegrationObjectSupportEXPRESSION_PARSER, loggerFields inherited from interface org.springframework.integration.support.management.IntegrationManagementMETER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAMEFields inherited from interface org.springframework.core.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructorsConstructorDescriptionMarshallingWebServiceOutboundGateway(@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 SummaryModifier and TypeMethodDescriptionprotected @Nullable ObjectdoHandle(String uri, Message<?> requestMessage, @Nullable WebServiceMessageCallback requestCallback) Methods inherited from class org.springframework.integration.ws.outbound.AbstractWebServiceOutboundGatewaydoInit, doSetWebServiceTemplate, getWebServiceTemplate, handleRequestMessage, setEncodingMode, setFaultMessageResolver, setHeaderMapper, setIgnoreEmptyResponses, setInterceptors, setMessageFactory, setMessageSenders, setReplyChannel, setRequestCallback, setUriVariableExpressions, setWebServiceTemplateMethods inherited from class org.springframework.integration.handler.AbstractReplyProducingMessageHandlerdoInvokeAdvisedRequestHandler, getBeanClassLoader, getIntegrationPatternType, getRequiresReply, handleMessageInternal, hasAdviceChain, onInit, setAdviceChain, setBeanClassLoader, setRequiresReplyMethods inherited from class org.springframework.integration.handler.AbstractMessageProducingHandleraddNotPropagatedHeaders, createOutputMessage, getNotPropagatedHeaders, getOutputChannel, isAsync, messageBuilderForReply, produceOutput, resolveErrorChannel, sendErrorMessage, sendOutput, sendOutputs, setAsync, setNotPropagatedHeaders, setOutputChannel, setOutputChannelName, setSendTimeout, setupMessageProcessor, shouldCopyRequestHeaders, shouldSplitOutput, updateNotPropagatedHeadersMethods inherited from class org.springframework.integration.handler.AbstractMessageHandlerhandleMessage, onComplete, onError, onNext, onSubscribe, setObservationConventionMethods inherited from class org.springframework.integration.handler.MessageHandlerSupportbuildSendTimer, destroy, getManagedName, getManagedType, getMetricsCaptor, getObservationRegistry, getOrder, getOverrides, isLoggingEnabled, isObserved, registerMetricsCaptor, registerObservationRegistry, sendTimer, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, shouldTrackMethods inherited from class org.springframework.integration.context.IntegrationObjectSupportafterPropertiesSet, 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 java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface reactor.core.CoreSubscribercurrentContextMethods inherited from interface org.springframework.integration.support.management.IntegrationManagementgetThisAsMethods inherited from interface org.springframework.integration.support.context.NamedComponentgetBeanName, getComponentName
- 
Constructor Details- 
MarshallingWebServiceOutboundGatewaypublic MarshallingWebServiceOutboundGateway(DestinationProvider destinationProvider, Marshaller marshaller, @Nullable Unmarshaller unmarshaller, @Nullable WebServiceMessageFactory messageFactory) 
- 
MarshallingWebServiceOutboundGatewaypublic MarshallingWebServiceOutboundGateway(DestinationProvider destinationProvider, Marshaller marshaller, Unmarshaller unmarshaller) 
- 
MarshallingWebServiceOutboundGatewaypublic MarshallingWebServiceOutboundGateway(DestinationProvider destinationProvider, Marshaller marshaller, @Nullable WebServiceMessageFactory messageFactory) 
- 
MarshallingWebServiceOutboundGatewaypublic MarshallingWebServiceOutboundGateway(DestinationProvider destinationProvider, Marshaller marshaller) 
- 
MarshallingWebServiceOutboundGatewaypublic MarshallingWebServiceOutboundGateway(@Nullable String uri, Marshaller marshaller, @Nullable Unmarshaller unmarshaller, @Nullable WebServiceMessageFactory messageFactory) 
- 
MarshallingWebServiceOutboundGatewaypublic MarshallingWebServiceOutboundGateway(String uri, Marshaller marshaller, Unmarshaller unmarshaller) 
- 
MarshallingWebServiceOutboundGatewaypublic MarshallingWebServiceOutboundGateway(String uri, Marshaller marshaller, @Nullable WebServiceMessageFactory messageFactory) 
- 
MarshallingWebServiceOutboundGateway
- 
MarshallingWebServiceOutboundGatewaypublic MarshallingWebServiceOutboundGateway(@Nullable String uri, WebServiceTemplate webServiceTemplate) Construct an instance based on the provided Web Service URI andWebServiceTemplate.- Parameters:
- uri- the Web Service URI to use
- webServiceTemplate- the WebServiceTemplate
- Since:
- 5.0
 
- 
MarshallingWebServiceOutboundGatewaypublic MarshallingWebServiceOutboundGateway(DestinationProvider destinationProvider, WebServiceTemplate webServiceTemplate) Construct an instance based on the providedDestinationProviderandWebServiceTemplate.- Parameters:
- destinationProvider- the- DestinationProviderto resolve Web Service URI at runtime
- webServiceTemplate- the WebServiceTemplate
- Since:
- 5.0
 
 
- 
- 
Method Details- 
getComponentType- Specified by:
- getComponentTypein interface- NamedComponent
- Overrides:
- getComponentTypein class- MessageHandlerSupport
 
- 
doHandleprotected @Nullable Object doHandle(String uri, Message<?> requestMessage, @Nullable WebServiceMessageCallback requestCallback) - Specified by:
- doHandlein class- AbstractWebServiceOutboundGateway
 
 
-