camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas (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 Mon, 27 Apr 2015 14:53:39 GMT

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

Thomas commented on CAMEL-5883:
-------------------------------

There is a real issue with multiple done files that needs addressed.  Only removing the last
done file is not an acceptable solution in every case.  This discussion http://camel.465427.n5.nabble.com/Done-file-not-deleted-td5735497.html#a5766387
indicated this jira would be re-opened.  Could you please review and maybe as part of the
fix add a boolean to allow deleting multiple done files?  I think the concept of multiple
done files is a real world case.

Tom


> 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: Willem Jiang
>            Priority: Minor
>             Fix For: 2.9.7, 2.10.7, 2.11.2, 2.12.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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message