【发布时间】:2021-04-06 08:47:25
【问题描述】:
我在使用 FileZilla 将 0-KB .csv 文件上传到我的 FTP 服务器时收到了执行命令。我正在使用 Apache Camel 来路由文件并对其进行处理。
但这样做时,我收到警告“Apache Camel 无法在 xxx 毫秒内获取锁定。将跳过该文件”。
org.apache.camel.component.file.remote.strategy.SftpChangedExclusiveReadLockStrategy Cannot acquire read lock within 20000 millis. Will skip the file: RemoteFile[filename.csv]
因此,该文件没有被路由到我的应用程序,我无法处理该文件。
【问题讨论】:
标签: java spring-boot apache-camel filezilla