在运行时设置多个入站通道适配器
Setting multiple inbound-channel-adapter at runtime
使用 spring-integration-sftp,创建任意数量的入站通道适配器对象的推荐方法是什么?我的应用程序需要监控多个远程目录(1 到 n),直到运行时才知道。
目前技术最简单的方法是使用the Java DSL "Dynamic and runtime Integration Flows"。
每个流都以编程方式注册到 IntegrationFlowContext
。
另请参阅 及其链接以了解其他技术。
使用 spring-integration-sftp,创建任意数量的入站通道适配器对象的推荐方法是什么?我的应用程序需要监控多个远程目录(1 到 n),直到运行时才知道。
目前技术最简单的方法是使用the Java DSL "Dynamic and runtime Integration Flows"。
每个流都以编程方式注册到 IntegrationFlowContext
。
另请参阅