1 Reply Latest reply on Nov 10, 2013 11:40 AM by Lars Burgess

    Where is the Poll interval set for JS source apdaptors?

    Hector Meza


      I have created both a Ruby Source adaptor and JS  (two different rhoconnect projects).  The settings.yml file in the ruby project holds the poll interval

       

      but the JS project does not have the setting in the setting.yml file.  When I add the sample setting - rhoconnect will not run from my laptop (windows demo).

       

      If I add the following to the settings.yml:

       

      #Sources

      :sources:

          Product:

            :poll_interval: 30

       

      I get the following error when I try to start rhoconnect

       

      C:\Users\cdfk46\workspace\HM_prod_connect_js>rhoconnect start

       

       

      Starting rhoconnect...

        [1840][09:01:49.816 AM 2013-11-04] Rhoconnect Server v4.0.0 started...

        C:/Rho/4.0/MotorolaRhoMobileSuite4.0.0/ruby/lib/ruby/gems/1.9.1/gems/rhoconnect-  4.0.0/lib/rhoconnect.rb:180:in `load': cannot load such file -- product.rb (Load Error)

            

      If I remove the poll interval - it loads and works.  The Ruby project work with these lines - soooo... the question on where do we set the poll interval for JS adaptors?

       

      Thanks