Spring 集成 - 文件入站适配器 - 设置 ID



>有谁知道如何为 FileInboundChannelAdapterSpec 设置 id?

这是我构建入站适配器的方式:

Files.inboundAdapter(new File("etc")).nioLocker().preventDuplicates();

提前谢谢。

我已经能够为流设置一个id,当它注册到integrationFlowContext时。

样本: this.integrationFlowContext.registration(flow(.id(flowId(.autoStartup(false(.register((;

最新更新