Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sql-server-2005/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring integration int:网关等效JavaDSL_Spring Integration_Spring Dsl - Fatal编程技术网

Spring integration int:网关等效JavaDSL

Spring integration int:网关等效JavaDSL,spring-integration,spring-dsl,Spring Integration,Spring Dsl,int:gateway的javadsl等价物是什么,它有错误通道和默认请求通道。 默认的请求通道被输入到一个转换器,该转换器向出站适配器发送JMS消息并返回一个可列出的未来 return IntegrationFlows.from(Gate.class) /** *将{@link MessageChannel}填充到新的{@link IntegrationFlowBuilder} *链,它成为构建的消息传递网关的{@code requestChannel} *在提供的服务接口上。 *所提供服

int:gateway的javadsl等价物是什么,它有错误通道和默认请求通道。 默认的请求通道被输入到一个转换器,该转换器向出站适配器发送JMS消息并返回一个可列出的未来

return IntegrationFlows.from(Gate.class)

/**
*将{@link MessageChannel}填充到新的{@link IntegrationFlowBuilder}
*链,它成为构建的消息传递网关的{@code requestChannel}
*在提供的服务接口上。
*所提供服务接口的网关代理bean在名称下注册
*从
*{@link org.springframework.integration.annotation.MessagingGateway#name()}如果存在
*或者从{@link IntegrationFlow}bean名称加上{@code.gateway}后缀。
*@param serviceInterface使用可选的
*{@link org.springframework.integration.annotation.MessagingGateway}注释。
*@return new{@link IntegrationFlowBuilder}。
*/
来自(类serviceInterface)的公共静态IntegrationFlowBuilder{

/**
 * Populate the {@link MessageChannel} to the new {@link IntegrationFlowBuilder}
 * chain, which becomes as a {@code requestChannel} for the Messaging Gateway(s) built
 * on the provided service interface.
 * <p>A gateway proxy bean for provided service interface is registered under a name
 * from the
 * {@link org.springframework.integration.annotation.MessagingGateway#name()} if present
 * or from the {@link IntegrationFlow} bean name plus {@code .gateway} suffix.
 * @param serviceInterface the service interface class with an optional
 * {@link org.springframework.integration.annotation.MessagingGateway} annotation.
 * @return new {@link IntegrationFlowBuilder}.
 */
public static IntegrationFlowBuilder from(Class<?> serviceInterface) {