Gaurang Parmar created CAMEL-12094:
--------------------------------------
Summary: fileExist=Move and tempFileName does not work together.
Key: CAMEL-12094
URL: https://issues.apache.org/jira/browse/CAMEL-12094
Project: Camel
Issue Type: Bug
Components: camel-ftp
Affects Versions: 2.16.5
Environment: SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 4
Reporter: Gaurang Parmar
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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)