title: Scheduling using Camel - Quartz2 and Spring boot
body: <p>I am trying to setup a scheduler using Camel and Quartz2 and my goal is to read messages from queue only in a specific time period.I am getting the following error on start of the server.</p>
  
  <blockquote>
    <p>org.apache.camel.spring.boot.CamelSpringBootInitializationException:
    org.apache.camel.FailedToCreateRouteException: Failed to create route
    route1:
    Route(route1)[[From[quartz2://simpleTimer?cron=0/1+0+13-15+?...
    because of Failed to resolve endpoint:
    quartz2://simpleTimer?cron=0%2F1+0+13-15+%3F+*+MON-FRI due to: No
    component found with scheme: quartz2</p>
  </blockquote>
  
  <p>This is the pom entry</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
          &lt;artifactId&gt;camel-quartz2&lt;/artifactId&gt;
          &lt;version&gt;2.19.2&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
     &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
          &lt;artifactId&gt;camel-spring-boot-dependencies&lt;/artifactId&gt;
          &lt;version&gt;2.19.2&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>code snippet in routes</p>
  
  <pre><code> from("quartz2://simpleTimer?cron=0/1+0+13-14+?+*+MON-FRI")
          .log("Reading msgs")
          .from("some queue")
          .bean("myBean")
  </code></pre>
  
  <p>Also tried with this </p>
  
  <pre><code>from("quartz2://testGroup/someName?cron=0/1+0+13-14+?+*+MON-FRI").
  </code></pre>
  
  <p>I made multiple attempts in fixing the issue but failed, can anyone help me in fixing this?
  Can I use simpleTimer along with Cron settings or Is there any other approach? 
  any suggestions/help in this regards would be highly appreciated.</p>