[
https://issues.apache.org/jira/browse/CAMEL-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-5883.
--------------------------------
Resolution: Fixed
> 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.9.0, 2.10.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