Class SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec, SimpleWebServiceOutboundGateway>
org.springframework.integration.dsl.MessageHandlerSpec<SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec, SimpleWebServiceOutboundGateway>
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.- Since:
- 5.3
- Author:
- Gary Russell, Artem Bilan
-
Field Summary
FieldsFields inherited from class org.springframework.integration.ws.dsl.BaseWsOutboundGatewaySpec
destinationProvider, 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.faultMessageResolver(FaultMessageResolver resolver) Specify theFaultMessageResolverto use.interceptors(ClientInterceptor... interceptors) Specify theClientInterceptors to use.messageFactory(WebServiceMessageFactory messageFactory) Specify theWebServiceMessageFactoryto use.messageSenders(WebServiceMessageSender... senders) Specify theWebServiceMessageSenders to use.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
isSingletonMethods inherited from interface org.springframework.context.SmartLifecycle
isPauseable
-
Field Details
-
sourceExtractor
-
-
Constructor Details
-
SimpleWsOutboundGatewayNoTemplateSpec
public SimpleWsOutboundGatewayNoTemplateSpec()
-
-
Method Details
-
sourceExtractor
public SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec sourceExtractor(SourceExtractor<?> extractor) Configure aSourceExtractorto use.- Parameters:
extractor- the extractor.- Returns:
- the spec.
-
messageFactory
public SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec messageFactory(WebServiceMessageFactory messageFactory) Specify theWebServiceMessageFactoryto use.- Parameters:
messageFactory- the message factory.- Returns:
- the spec.
-
faultMessageResolver
public SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec faultMessageResolver(FaultMessageResolver resolver) Specify theFaultMessageResolverto use.- Parameters:
resolver- the resolver.- Returns:
- the spec.
-
messageSenders
public SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec messageSenders(WebServiceMessageSender... senders) Specify theWebServiceMessageSenders to use.- Parameters:
senders- the senders.- Returns:
- the spec.
-
interceptors
public SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec interceptors(ClientInterceptor... interceptors) Specify theClientInterceptors to use.- Parameters:
interceptors- the interceptors.- Returns:
- the spec.
-
extractPayload
public SimpleWsOutboundGatewaySpec.SimpleWsOutboundGatewayNoTemplateSpec extractPayload(boolean extract) 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.
-
create
-
assemble
-