camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5883) File consumer - When using done file name then delete the file when batch is complete
Date Thu, 11 Jul 2013 02:09:48 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705394#comment-13705394
] 

Willem Jiang commented on CAMEL-5883:
-------------------------------------

The patch doesn't take the dynamic done file into consideration. 
Here is a [discussion|http://camel.465427.n5.nabble.com/Done-file-not-deleted-tp5735497.html]
about it.

                
> 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

Mime
View raw message