我已配置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