Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3609

RecursiveLeafOnlyDirectoryScanner is ignoring the configured FileListFilter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 4.1.2
    • Fix Version/s: None
    • Component/s: File Support

      Description

      Hi,

      I wanted to configure a RecursiveLeafOnlyDirectoryScanner with a FileListFilter, but realized it's not working :

      in parent class (DefaultDirectoryScanner.listEligibleFiles ) filter is taken into account :

      return (this.filter != null) ? this.filter.filterFiles(files) : Arrays.asList(files);
      

      but in RecursiveLeafOnlyDirectoryScanner.listEligibleFiles , filter is not used, making the configured filter ineffective.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            vincent.fuchs Vincent FUCHS
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: