You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/08/24 07:07:50 UTC

[jira] Assigned: (CAMEL-1927) FileConsumer preMove setting causes filename to be left in in progress repository.

     [ https://issues.apache.org/activemq/browse/CAMEL-1927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-1927:
----------------------------------

    Assignee: Claus Ibsen

> FileConsumer preMove setting causes filename to be left in in progress repository.
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-1927
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1927
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0-M3
>            Reporter: Alexander Lee
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> If the FileConsumer preMove setting is used, then files are picked up the first time only, as the original file name is added to the in progress repository, whereas the new file name is removed from the in progress repository (though nothing is actually removed as the new file name is not in the in progress repository).
> This causes a few problems:
> i) If the maxMessagePerPoll is used, then messages not processed the first time are never picked up again.
> ii) If the intention is to reprocess the same file, or a new file with the same name, then it will never be picked up again after the first time.
> iii)  As the wrong file names are removed from the in progress repository, it results in a slow memory leak in the in progress repository.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.