Class SimpleWsOutboundGatewaySpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
org.springframework.integration.dsl.MessageHandlerSpec<S,E>
org.springframework.integration.ws.dsl.BaseWsOutboundGatewaySpec<SimpleWsOutboundGatewaySpec,SimpleWebServiceOutboundGateway>
org.springframework.integration.ws.dsl.SimpleWsOutboundGatewaySpec
- All Implemented Interfaces:
DisposableBean
,FactoryBean<SimpleWebServiceOutboundGateway>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
public class SimpleWsOutboundGatewaySpec
extends BaseWsOutboundGatewaySpec<SimpleWsOutboundGatewaySpec,SimpleWebServiceOutboundGateway>
The spec for a
SimpleWebServiceOutboundGateway
.- Since:
- 5.3
- Author:
- Gary Russell, Artem Bilan
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Spec for aSimpleWebServiceOutboundGateway
where an externalWebServiceTemplate
is not provided. -
Field Summary
Fields inherited from class org.springframework.integration.ws.dsl.BaseWsOutboundGatewaySpec
destinationProvider, extractPayload, 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.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
-
SimpleWsOutboundGatewaySpec
-
-
Method Details
-
sourceExtractor
Configure aSourceExtractor
to use.- Parameters:
extractor
- the extractor.- Returns:
- the spec.
-
extractPayload
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.
-
assemble
- Overrides:
assemble
in classBaseWsOutboundGatewaySpec<SimpleWsOutboundGatewaySpec,
SimpleWebServiceOutboundGateway>
-
create
- Specified by:
create
in classBaseWsOutboundGatewaySpec<SimpleWsOutboundGatewaySpec,
SimpleWebServiceOutboundGateway>
-