S
- the target BaseWsOutboundGatewaySpec
implementation type.E
- the target AbstractWebServiceOutboundGateway
implementation type.public abstract class BaseWsOutboundGatewaySpec<S extends BaseWsOutboundGatewaySpec<S,E>,E extends AbstractWebServiceOutboundGateway> extends MessageHandlerSpec<S,E>
MessageHandlerSpec
for AbstractWebServiceOutboundGateway
s.Modifier and Type | Field and Description |
---|---|
protected DestinationProvider |
destinationProvider |
protected boolean |
extractPayload |
protected FaultMessageResolver |
faultMessageResolver |
protected ClientInterceptor[] |
gatewayInterceptors |
protected WebServiceMessageSender[] |
messageSenders |
protected WebServiceTemplate |
template |
protected String |
uri |
protected WebServiceMessageFactory |
webServiceMessageFactory |
PARSER, target
logger
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
Constructor and Description |
---|
BaseWsOutboundGatewaySpec() |
Modifier and Type | Method and Description |
---|---|
protected E |
assemble(E gateway) |
protected abstract E |
create() |
S |
destinationProvider(DestinationProvider destinationProvider)
Configure with a destination provider;
|
protected E |
doGet() |
S |
encodingMode(DefaultUriBuilderFactory.EncodingMode encodingMode)
Specify a
DefaultUriBuilderFactory.EncodingMode for uri construction. |
S |
headerMapper(SoapHeaderMapper headerMapper)
Configure the header mapper.
|
S |
ignoreEmptyResponses(boolean ignoreEmptyResponses)
Specify whether empty String response payloads should be ignored.
|
S |
requestCallback(WebServiceMessageCallback requestCallback)
Specify the
WebServiceMessageCallback to use. |
S |
uri(String uri)
Configure with a URI.
|
S |
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.
|
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
protected WebServiceTemplate template
protected DestinationProvider destinationProvider
protected String uri
protected WebServiceMessageFactory webServiceMessageFactory
protected FaultMessageResolver faultMessageResolver
protected WebServiceMessageSender[] messageSenders
protected ClientInterceptor[] gatewayInterceptors
protected boolean extractPayload
public S destinationProvider(DestinationProvider destinationProvider)
destinationProvider
- the destination provider.public S headerMapper(SoapHeaderMapper headerMapper)
headerMapper
- the mapper.public S uriVariableExpressions(Map<String,Expression> uriVariableExpressions)
uriVariableExpressions
- The URI variable expressions.public S encodingMode(DefaultUriBuilderFactory.EncodingMode encodingMode)
DefaultUriBuilderFactory.EncodingMode
for uri construction.encodingMode
- to use for uri construction.public S ignoreEmptyResponses(boolean ignoreEmptyResponses)
true
. Set this to false
if
you want to send empty String responses in reply Messages.ignoreEmptyResponses
- true if empty responses should be ignored.public S requestCallback(WebServiceMessageCallback requestCallback)
WebServiceMessageCallback
to use.requestCallback
- the call back.protected E doGet()
doGet
in class IntegrationComponentSpec<S extends BaseWsOutboundGatewaySpec<S,E>,E extends AbstractWebServiceOutboundGateway>
protected abstract E create()