Uses of Class
org.springframework.integration.dsl.GatewayProxySpec
Package
Description
Root package of the Spring Integration Java DSL.
-
Uses of GatewayProxySpec in org.springframework.integration.dsl
Modifier and TypeMethodDescriptionGatewayProxySpec.asyncExecutor
(Executor executor) Specify a bean name for the targetGatewayProxyFactoryBean
.GatewayProxySpec.errorChannel
(String errorChannelName) Identifies a channel that error messages will be sent to if a failure occurs in the gateway's proxy invocation.GatewayProxySpec.errorChannel
(MessageChannel errorChannel) Identifies a channel that error messages will be sent to if a failure occurs in the gateway's proxy invocation.Provides custom message header.GatewayProxySpec.header
(String headerName, Function<MethodArgsHolder, ?> valueFunction) Provides custom message header.GatewayProxySpec.header
(String headerName, Expression valueExpression) Provides custom message header.GatewayProxySpec.mapper
(MethodArgsMessageMapper mapper) AnMethodArgsMessageMapper
to map the method arguments to aMessage
.GatewayProxySpec.payloadExpression
(String expression) An expression that will be used to generate thepayload
for all methods in the service interface unless explicitly overridden by a method declaration.GatewayProxySpec.payloadExpression
(Expression expression) An expression that will be used to generate thepayload
for all methods in the service interface unless explicitly overridden by a method declaration.GatewayProxySpec.payloadFunction
(Function<MethodArgsHolder, ?> defaultPayloadFunction) AFunction
that will be used to generate thepayload
for all methods in the service interface unless explicitly overridden by a method declaration.GatewayProxySpec.proxyDefaultMethods
(boolean proxyDefaultMethods) Indicate ifdefault
methods on the interface should be proxied as well.GatewayProxySpec.replyChannel
(String channelName) Identifies the default channel the gateway proxy will subscribe to, to receive replyMessage
s, the payloads of which will be converted to the return type of the method signature.GatewayProxySpec.replyChannel
(MessageChannel replyChannel) Identifies the default channel the gateway proxy will subscribe to, to receive replyMessage
s, the payloads of which will be converted to the return type of the method signature.GatewayProxySpec.replyTimeout
(long replyTimeout) Allows to specify how long this gateway will wait for the replyMessage
before returning.GatewayProxySpec.requestTimeout
(long requestTimeout) Provides the amount of time dispatcher would wait to send aMessage
.Modifier and TypeMethodDescriptionstatic IntegrationFlowBuilder
IntegrationFlow.from
(Class<?> serviceInterface, Consumer<GatewayProxySpec> endpointConfigurer) Populate theMessageChannel
to the newIntegrationFlowBuilder
chain, which becomes as arequestChannel
for the Messaging Gateway(s) built on the provided service interface.protected IntegrationFlowBuilder
IntegrationFlowAdapter.from
(Class<?> serviceInterface, Consumer<GatewayProxySpec> endpointConfigurer) Start a flow from a proxy for the service interface.