Class SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
org.springframework.integration.dsl.MessageHandlerSpec<S,E>
org.springframework.integration.ws.dsl.BaseWsOutboundGatewaySpec<SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec,SimpleWebServiceOutboundGateway>
org.springframework.integration.ws.dsl.SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec
- All Implemented Interfaces:
DisposableBean
,FactoryBean<SimpleWebServiceOutboundGateway>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
- Enclosing class:
- SimpleWsOutboundGatewaySpec
public static class SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec
extends BaseWsOutboundGatewaySpec<SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec,SimpleWebServiceOutboundGateway>
Spec for a
SimpleWebServiceOutboundGateway
where an external
WebServiceTemplate
is not provided.-
Field Summary
Fields inherited from class org.springframework.integration.ws.dsl.BaseWsOutboundGatewaySpec
destinationProvider, faultMessageResolver, gatewayInterceptors, messageSenders, template, uri, webServiceMessageFactory
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, target
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected SimpleWebServiceOutboundGateway
assemble
(SimpleWebServiceOutboundGateway gateway) protected SimpleWebServiceOutboundGateway
create()
extractPayload
(boolean extract) Specify a flag to return the wholeWebServiceMessage
or build thepayload
based onWebServiceMessage
and populated headers accordingheaderMapper
configuration.faultMessageResolver
(FaultMessageResolver resolver) Specify theFaultMessageResolver
to use.interceptors
(ClientInterceptor... interceptors) Specify theClientInterceptor
s to use.messageFactory
(WebServiceMessageFactory messageFactory) Specify theWebServiceMessageFactory
to use.messageSenders
(WebServiceMessageSender... senders) Specify theWebServiceMessageSender
s to use.sourceExtractor
(SourceExtractor<?> extractor) Configure aSourceExtractor
to use.Methods inherited from class org.springframework.integration.ws.dsl.BaseWsOutboundGatewaySpec
destinationProvider, doGet, encodingMode, headerMapper, ignoreEmptyResponses, requestCallback, uri, uriVariableExpressions
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, get, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Field Details
-
sourceExtractor
-
-
Constructor Details
-
SimpleWsOutboundGatewayNoTemplateSpec
public SimpleWsOutboundGatewayNoTemplateSpec()
-
-
Method Details
-
sourceExtractor
public SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec sourceExtractor(SourceExtractor<?> extractor) Configure aSourceExtractor
to use.- Parameters:
extractor
- the extractor.- Returns:
- the spec.
-
messageFactory
public SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec messageFactory(WebServiceMessageFactory messageFactory) Specify theWebServiceMessageFactory
to use.- Parameters:
messageFactory
- the message factory.- Returns:
- the spec.
-
faultMessageResolver
public SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec faultMessageResolver(FaultMessageResolver resolver) Specify theFaultMessageResolver
to use.- Parameters:
resolver
- the resolver.- Returns:
- the spec.
-
messageSenders
public SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec messageSenders(WebServiceMessageSender... senders) Specify theWebServiceMessageSender
s to use.- Parameters:
senders
- the senders.- Returns:
- the spec.
-
interceptors
public SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec interceptors(ClientInterceptor... interceptors) Specify theClientInterceptor
s to use.- Parameters:
interceptors
- the interceptors.- Returns:
- the spec.
-
extractPayload
public SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec extractPayload(boolean extract) Specify a flag to return the wholeWebServiceMessage
or build thepayload
based onWebServiceMessage
and populated headers accordingheaderMapper
configuration. Defaults to extract payload.- Parameters:
extract
- build payload or return a wholeWebServiceMessage
- Returns:
- the spec.
-
create
-
assemble
-