Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17648

Optimizing File component performance when filtering file names.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • Future
    • camel-file
    • None
    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Bi Ja
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: