ServiceMix
  1. ServiceMix
  2. SM-937

Poller polls subdirectory even though recursive is set to false

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1.2, 3.2
    • Component/s: servicemix-ftp
    • Labels:
      None

      Description

      Poller polls subdirectory even though recursive is set to false because in the first call to pollFileOrDirectory processDir is set to true. Either the first call should use the value of property recursive or the processDir flag should be checked before starting to process the files in the directory.

        Activity

        Hide
        Rabi added a comment -

        patch attached

        Show
        Rabi added a comment - patch attached
        Show
        Gert Vanthienen added a comment - Thanks to Rabi Mishra for providing this patch! http://svn.apache.org/viewvc?view=rev&revision=556821 http://svn.apache.org/viewvc?view=rev&revision=556822

          People

          • Assignee:
            Unassigned
            Reporter:
            Markus Rado
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development