1 Reply Latest reply on Dec 7, 2010 9:54 AM by tcunning

    limit on how many files fs-provider detects in each poll

    jakkur

      Is there anyway to tell how fs-provider determines how many files it has detected in a single attempt (single poll).
      In other words, if I have 10000 files in my directory being monitored by my fs-provider, does it detect all 10000 files when it polls and create 10000 messages? Or it grabs a certain number (if so, where it is configured) everytime it polls?

       

      Regards,

      jakku

        • 1. Re: limit on how many files fs-provider detects in each poll
          tcunning

          Each file is treated as its own message.      If you want to dig in and  see how many files are detected, probably the best way to do that would  be to debug in and set a breakpoint in AbstractFileGateway.java or  FileGateway.java.        You could pretty easily make the  helloworld_file_action a testcase for yourself by just tweaking the  CreateTestFile class so that it creates multiple files instead of just a  single one.