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

Claus Ibsen resolved CAMEL-9550.
--------------------------------
    Resolution: Fixed

Thanks for reporting

> File consumer - Use Filter while deleting orphaned marker lock files
> --------------------------------------------------------------------
>
>                 Key: CAMEL-9550
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9550
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Luz
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.17.0
>
>
> Assume we have the FileComponent configured as follows:
> * {{recursive=true}}
> * {{filter=#DirectoryFilter}}
> * {{readLockDeleteOrphanLockFiles=true}}
> The FileComponent visits the *whole* directory tree in order to delete the 
> orphaned marker lock files:
> * This can takes a lot of time (especially if remote filesystem)
> * And it is dangerous, because unwanted directories are visited too and may 
> conflict with other processes.
> The orphaned marker lock files procedure, should be close to the polling 
> procedure ({{filter}}, {{include}}, {{exclude}}, {{antInclude}}, 
> {{antExclude}}, ...)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to