【发布时间】:2017-08-21 03:34:07
【问题描述】:
我们的应用程序将读取和写入文件到目录结构为 {date}/{usercode}/* 的 FTP 文件夹。我们正在尝试使用 sftp 入站适配器。
<int-sftp:inbound-channel-adapter
id="sftpInboundAdapter"
channel="filesIn"
filename-pattern="*.xml"
session-factory="sftpSessionFactory"
remote-directory="file:${fileserver.input.path}"
local-directory="file:${fileserver.output.path}"
delete-remote-files="false"
</int-sftp:inbound-channel-adapter>
有没有办法为 sftp 入站适配器设置自定义目录扫描器?
【问题讨论】:
标签: spring-integration spring-integration-sftp