Class BaseWsOutboundGatewaySpec<S extends BaseWsOutboundGatewaySpec<S,E>,E extends AbstractWebServiceOutboundGateway>  
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
 
org.springframework.integration.dsl.MessageHandlerSpec<S,E>
 
org.springframework.integration.ws.dsl.BaseWsOutboundGatewaySpec<S,E> 
- Type Parameters:
- S- the target- BaseWsOutboundGatewaySpecimplementation type.
- E- the target- AbstractWebServiceOutboundGatewayimplementation type.
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<E>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle
- Direct Known Subclasses:
- MarshallingWsOutboundGatewaySpec,- MarshallingWsOutboundGatewaySpec.MarshallingWsOutboundGatewayNoTemplateSpec,- SimpleWsOutboundGatewaySpec,- SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec
public abstract class BaseWsOutboundGatewaySpec<S extends BaseWsOutboundGatewaySpec<S,E>,E extends AbstractWebServiceOutboundGateway>  
extends MessageHandlerSpec<S,E> 
The base 
MessageHandlerSpec for AbstractWebServiceOutboundGateways.- Since:
- 5.3
- Author:
- Gary Russell, Artem Bilan
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected DestinationProviderprotected booleanprotected FaultMessageResolverprotected ClientInterceptor[]protected WebServiceMessageSender[]protected WebServiceTemplateprotected Stringprotected WebServiceMessageFactoryFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected Eprotected abstract Ecreate()destinationProvider(DestinationProvider destinationProvider) Configure with a destination provider;protected EdoGet()encodingMode(DefaultUriBuilderFactory.EncodingMode encodingMode) Specify aDefaultUriBuilderFactory.EncodingModefor uri construction.headerMapper(SoapHeaderMapper headerMapper) Configure the header mapper.ignoreEmptyResponses(boolean ignoreEmptyResponses) Specify whether empty String response payloads should be ignored.requestCallback(WebServiceMessageCallback requestCallback) Specify theWebServiceMessageCallbackto use.Configure with a URI.uriVariableExpressions(Map<String, Expression> uriVariableExpressions) Set the Map of URI variable expressions to evaluate against the outbound message when replacing the variable placeholders in a URI template.Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, get, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Field Details- 
template
- 
destinationProvider
- 
uri
- 
webServiceMessageFactory
- 
faultMessageResolver
- 
messageSenders
- 
gatewayInterceptors
- 
extractPayloadprotected boolean extractPayload
 
- 
- 
Constructor Details- 
BaseWsOutboundGatewaySpecpublic BaseWsOutboundGatewaySpec()
 
- 
- 
Method Details- 
destinationProviderConfigure with a destination provider;- Parameters:
- destinationProvider- the destination provider.
- Returns:
- the spec.
 
- 
uriConfigure with a URI.- Parameters:
- uri- the uri.
- Returns:
- the spec.
 
- 
headerMapperConfigure the header mapper.- Parameters:
- headerMapper- the mapper.
- Returns:
- the spec.
 
- 
uriVariableExpressionsSet the Map of URI variable expressions to evaluate against the outbound message when replacing the variable placeholders in a URI template.- Parameters:
- uriVariableExpressions- The URI variable expressions.
- Returns:
- the spec.
 
- 
encodingModeSpecify aDefaultUriBuilderFactory.EncodingModefor uri construction.- Parameters:
- encodingMode- to use for uri construction.
- Returns:
- the spec
 
- 
ignoreEmptyResponsesSpecify whether empty String response payloads should be ignored. The default istrue. Set this tofalseif you want to send empty String responses in reply Messages.- Parameters:
- ignoreEmptyResponses- true if empty responses should be ignored.
- Returns:
- the spec.
 
- 
requestCallbackSpecify theWebServiceMessageCallbackto use.- Parameters:
- requestCallback- the call back.
- Returns:
- the spec.
 
- 
doGet- Overrides:
- doGetin class- IntegrationComponentSpec<S extends BaseWsOutboundGatewaySpec<S,- E>, - E extends AbstractWebServiceOutboundGateway> 
 
- 
create
- 
assemble
 
-