骆驼无法选择 0 字节文件
Camel not able to pick 0 byte file
我已将 camel 配置为从 ftp 中选取文件。但是在放置任何空文件的地方它无法选择它并连续记录相同的事件:
2015-07-14 19:53:11,005 WARN [org.apache.camel.component.file.remote.strategy.FtpChangedExclusiveReadLockStrategy] (Camel (camel-1) thread #0 - ftp://abc.com/responsefiles) Cannot acquire read lock within 20000 millis. Will skip the file: RemoteFile[REFUND07102015.141730.csv]
我的骆驼配置是:
sftp://[servername]/responsefiles?username=[username]&password=[password]&readLock=changed&readLockCheckInterval=5000&noop=false&preMove=.processing&move=.done
您可能需要配置 readLockMinLength=0
以允许选取空文件。在 http://camel.apache.org/file2
查看更多详细信息
我已将 camel 配置为从 ftp 中选取文件。但是在放置任何空文件的地方它无法选择它并连续记录相同的事件:
2015-07-14 19:53:11,005 WARN [org.apache.camel.component.file.remote.strategy.FtpChangedExclusiveReadLockStrategy] (Camel (camel-1) thread #0 - ftp://abc.com/responsefiles) Cannot acquire read lock within 20000 millis. Will skip the file: RemoteFile[REFUND07102015.141730.csv]
我的骆驼配置是:
sftp://[servername]/responsefiles?username=[username]&password=[password]&readLock=changed&readLockCheckInterval=5000&noop=false&preMove=.processing&move=.done
您可能需要配置 readLockMinLength=0
以允许选取空文件。在 http://camel.apache.org/file2