Class SimpleWsOutboundGatewaySpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
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:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,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
Nested Classes Modifier and Type Class Description static class
SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec
Spec for aSimpleWebServiceOutboundGateway
where an externalWebServiceTemplate
is not provided. -
Field Summary
Fields Modifier and Type Field Description protected SourceExtractor<?>
sourceExtractor
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
PARSER, target
-
Constructor Summary
Constructors Modifier Constructor Description protected
SimpleWsOutboundGatewaySpec(WebServiceTemplate template)
-
Method Summary
Modifier and Type Method Description protected SimpleWebServiceOutboundGateway
assemble(SimpleWebServiceOutboundGateway gateway)
protected SimpleWebServiceOutboundGateway
create()
SimpleWsOutboundGatewaySpec
extractPayload(boolean extract)
Specify a flag to return the wholeWebServiceMessage
or build thepayload
based onWebServiceMessage
and populated headers accordingheaderMapper
configuration.SimpleWsOutboundGatewaySpec
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, createInstance, destroyInstance, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Field Details
-
Constructor Details
-
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>
-