Hi

Its wrong assumption - the done file is also deleted per file when the
done file is dynamic, eg it has {file:name in the name, such as
doneFile=${file:name}.done

But if the done file is a static name such as doneFile=end.txt
Then its only deleted at the end of batch.


On Mon, Apr 27, 2015 at 4:47 PM, dornseif <dorns...@gmail.com> wrote:
> I see the original fix was not re-opened?  Please at the very least can you
> add a boolean to deleteLastDoneFileOnly or deleteAllDoneFiles?
>
> In our case we need to delete all the done files after processing.
> We have a situation where many thousands of accounts exist on an SFTP site.
> Each account represented by a directory structure with multiple sub folders.
> each sub folder could have a new set of batch files.  The number of files
> uploaded is not known and the done file is used to indicate that all files
> have been uploaded for the current batch set in the current sub folder, and
> are now ready to process.  We iterate through all the accounts and all the
> sub folders of each account and need to remove the done file in each sub
> folder once the files have been processed (in this case removed).  This
> serves several purposes on of which is to let the up loader know they can
> start uploading the next batch set.
>
> Tom
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Done-file-not-deleted-tp5735497p5766387.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to