4 Replies Latest reply on Feb 22, 2011 1:55 AM by Jochen Lauer

    Adapted camel-nmr example - no output

    Jochen Lauer Apprentice



      I tried to adapt the camel-nmr example to use quartz for the heartbeat.


      I changed the timer string in beans.xml to


      <from uri="quartz://timerName?cron=5*+**"/>


      and I add a dependency




      to the pom.


      After the deployment I recognized the following in the log file:



      - | RAMJobStore initialized.

      22:36:37,369 | INFO  | Timer-1          | QuartzScheduler                  | ?

                                       ? | 179 - org.apache.servicemix.bundles.quartz

      - | Scheduler meta-data: Quartz Scheduler (vUNKNOWN.UNKNOWN.UNKNOWN) 'De

      faultQuartzScheduler' with instanceId 'NON_CLUSTERED'

        Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.

        NOT STARTED.

        Currently in standby mode.

        Number of jobs executed: 0

        Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.

        Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persis

      tence. and is not clustered.


      and the output from the original example does not occur.

      I expected the output every 5 seconds