Uses of Class
org.springframework.integration.dsl.GatewayProxySpec
Packages that use GatewayProxySpec
Package
Description
Root package of the Spring Integration Java DSL.
-
Uses of GatewayProxySpec in org.springframework.integration.dsl
Methods in org.springframework.integration.dsl that return GatewayProxySpecModifier 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) AnMethodArgsMessageMapperto map the method arguments to aMessage.GatewayProxySpec.payloadExpression(String expression) An expression that will be used to generate thepayloadfor 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 thepayloadfor all methods in the service interface unless explicitly overridden by a method declaration.GatewayProxySpec.payloadFunction(Function<MethodArgsHolder, ?> defaultPayloadFunction) AFunctionthat will be used to generate thepayloadfor all methods in the service interface unless explicitly overridden by a method declaration.GatewayProxySpec.proxyDefaultMethods(boolean proxyDefaultMethods) Indicate ifdefaultmethods on the interface should be proxied as well.GatewayProxySpec.replyChannel(String channelName) Identifies the default channel the gateway proxy will subscribe to, to receive replyMessages, 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 replyMessages, 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 replyMessagebefore returning.GatewayProxySpec.requestTimeout(long requestTimeout) Provides the amount of time dispatcher would wait to send aMessage.Method parameters in org.springframework.integration.dsl with type arguments of type GatewayProxySpecModifier and TypeMethodDescriptionstatic IntegrationFlowBuilderIntegrationFlow.from(Class<?> serviceInterface, Consumer<GatewayProxySpec> endpointConfigurer) Populate theMessageChannelto the newIntegrationFlowBuilderchain, which becomes as arequestChannelfor the Messaging Gateway(s) built on the provided service interface.protected IntegrationFlowBuilderIntegrationFlowAdapter.from(Class<?> serviceInterface, Consumer<GatewayProxySpec> endpointConfigurer) Start a flow from a proxy for the service interface.