camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-12094) fileExist=Move and tempFileName does not work together.
Date Tue, 26 Dec 2017 10:00:04 GMT

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

Claus Ibsen updated CAMEL-12094:
--------------------------------
      Remaining Estimate:     (was: 168h)
       Original Estimate:     (was: 168h)
    Estimated Complexity:   (was: Novice)

> 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, 2.20.1
>         Environment: SUSE Linux Enterprise Server 11 (x86_64)
> VERSION = 11
> PATCHLEVEL = 4
>            Reporter: Gaurang Parmar
>            Priority: Minor
>
> 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)

Mime
View raw message