Hi

You are using Camel 2.x and looking at the documentation for "latest"
which is Camel 3.x.
Change the docs to 2.x, there is a drop down in the bottom left corner.

On Thu, May 7, 2020 at 2:33 AM Shultz, Dmitry <dmitry_shu...@kaltire.com> wrote:
>
> Hi All,
>
> I'm following the example of using Polling Consumer scheduler in 
> https://camel.apache.org/components/latest/quartz-component.html, here is the 
> route
>
> from(file://inbox?scheduler=quartz&scheduler.cron= 0 * * ? * * 
> *<file:///\\inbox?scheduler=quartz&scheduler.cron=%200%20*%20*%20?%20*%20*%20*>).log("it
>  works")
>
> it fails with:
> org.apache.webbeans.portable.events.discovery.ErrorStack.logErrors Failed to 
> create route ... due to: No bean could be found in the registry for: quartz 
> of type: org.apache.camel.spi.ScheduledPollConsumerScheduler
>
> camel-core and camel-quartzs are in pom.xml  there is also another quartz2 
> route that starts fine.
>
> What I'm missing?
>
> The runtime is TomEE 7.0.6 (CDI), Camel 2.25.1
>
> Cheers,
> Dmitry



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to