title: Mule flow to Read Queue messages in Quartz Scheduler and forward to a Java component
body: <p>How do I write a Mule flow to use a Quartz Scheduler to read messages from Queue on regular interval (cron)?</p>
  
  <p>My first flow includes a CXF->Queue.
  I need this in my second flow: Queue->Quartz->Component</p>
  
  <pre><code>  &lt;quartz:inbound-endpoint jobName="ReadQIN" cronExpression="* * * * * ?" repeatInterval="0" doc:name="Quartz"&gt;
          &lt;quartz:endpoint-polling-job groupName="ReadQINGroup" jobGroupName="ReadQINJobGroup"&gt;
              &lt;quartz:job-endpoint address="jms://QIN"/&gt;
          &lt;/quartz:endpoint-polling-job&gt;
      &lt;/quartz:inbound-endpoint&gt;
  </code></pre>
  
  <p>It ended in org.quartz.SchedulerException: Trigger does not reference given job!</p>