You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Michał Warecki (Updated JIRA)" <ji...@apache.org> on 2012/03/01 17:01:58 UTC

[jira] [Updated] (CAMEL-4602) file/ftp consumer - The filter option should be able to work on directories as well

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

Michał Warecki updated CAMEL-4602:
----------------------------------

    Attachment: DirectoryFilter.patch

Hi, I attached possible solution with unit test.
                
> file/ftp consumer - The filter option should be able to work on directories as well
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-4602
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4602
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: DirectoryFilter.patch
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Copying-files-from-an-FTP-server-using-search-criteria-tp4882889p4882889.html
> By invoking the filter for directories, it allows end users to skip entire directories, which would make the polling faster. And no need to walk down unwanted directories.
> The logic need to apply for both file/ftp consumers, as well having unit tests to ensure it works.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira