You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Ja (Jira)" <ji...@apache.org> on 2022/02/15 07:53:00 UTC

[jira] [Created] (CAMEL-17648) Optimizing File component performance when filtering file names.

Ja created CAMEL-17648:
--------------------------

             Summary: Optimizing File component performance when filtering file names.
                 Key: CAMEL-17648
                 URL: https://issues.apache.org/jira/browse/CAMEL-17648
             Project: Camel
          Issue Type: Improvement
          Components: camel-file
            Reporter: Ja


Currently FileConsumer matches file names after creating GenericFile object for each file witch can be time consuming especially in shared network directories.

This could be optimized by matching on name based query parameters (fileName, include, exclude, antExclude, antInclude, includeExt, excludeExt) before creating GenericFile objects.

If the file name does not match creating GenericFile objects would not be necessary.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)