You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/12/17 09:52:12 UTC

[jira] [Created] (CAMEL-5883) File consumer - When using done file name then delete the file when batch is complete

Claus Ibsen created CAMEL-5883:
----------------------------------

             Summary: File consumer - When using done file name then delete the file when batch is complete
                 Key: CAMEL-5883
                 URL: https://issues.apache.org/jira/browse/CAMEL-5883
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.10.0, 2.9.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.9.6, 2.10.4, 2.11.0


When using doneFileName then the file is deleted on each completion of files in the batch. And you get WARN logs about the done file cannot be deleted, because the 1st already deleted the file.

We should defer and only delete the done file on the last in the batch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira