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
Nested ClassesModifier and TypeClassDescriptionstatic classSpec for aSimpleWebServiceOutboundGatewaywhere an externalWebServiceTemplateis not provided. -
Field Summary
FieldsFields inherited from class org.springframework.integration.ws.dsl.BaseWsOutboundGatewaySpec
destinationProvider, extractPayload, faultMessageResolver, gatewayInterceptors, messageSenders, template, uri, webServiceMessageFactoryFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SimpleWebServiceOutboundGatewayassemble(SimpleWebServiceOutboundGateway gateway) protected SimpleWebServiceOutboundGatewaycreate()extractPayload(boolean extract) Specify a flag to return the wholeWebServiceMessageor build thepayloadbased onWebServiceMessageand populated headers accordingheaderMapperconfiguration.sourceExtractor(SourceExtractor<?> extractor) Configure aSourceExtractorto use.Methods inherited from class org.springframework.integration.ws.dsl.BaseWsOutboundGatewaySpec
destinationProvider, doGet, encodingMode, headerMapper, ignoreEmptyResponses, requestCallback, uri, uriVariableExpressionsMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Field Details
-
sourceExtractor
-
-
Constructor Details
-
SimpleWsOutboundGatewaySpec
-
-
Method Details
-
sourceExtractor
Configure aSourceExtractorto use.- Parameters:
extractor- the extractor.- Returns:
- the spec.
-
extractPayload
Specify a flag to return the wholeWebServiceMessageor build thepayloadbased onWebServiceMessageand populated headers accordingheaderMapperconfiguration. Defaults to extract payload.- Parameters:
extract- build payload or return a wholeWebServiceMessage- Returns:
- the spec.
-
assemble
- Overrides:
assemblein classBaseWsOutboundGatewaySpec<SimpleWsOutboundGatewaySpec,SimpleWebServiceOutboundGateway>
-
create
- Specified by:
createin classBaseWsOutboundGatewaySpec<SimpleWsOutboundGatewaySpec,SimpleWebServiceOutboundGateway>
-