Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.16.5, 2.20.1
-
None
-
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 4
Description
We are using camel-ftp for SFTP operations in pure integration all camel application.
We had one scenario of putting large files on SFTP and another process will pick files from that location on periodic basis.
So need to rename existing file with same so it won't be picked and also during the process we does not want to be picked.
So we used both options together.
1) fileExist=Move&moveExisting=${file:name.noext}-${date:now:ddMMyyyyHHmmss}.${file:ext}
2) tempFileName=${file:onlyname}.inprogress
But as per code Move operation is performed in XXXXOperations class and filename passed from GenericFileProducer is temporary file name to writeFile method.