[ 
https://issues.apache.org/jira/browse/CAMEL-12094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-12094.
---------------------------------
    Resolution: Fixed

> 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-core, camel-ftp
>    Affects Versions: 2.16.5, 2.20.1
>         Environment: SUSE Linux Enterprise Server 11 (x86_64)
> VERSION = 11
> PATCHLEVEL = 4
>            Reporter: Gaurang Parmar
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.19.5, 2.20.2, 2.21.0
>
>
> 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)

Reply via email to