Hi,

thanks, I did
dynamic-import 466
Enabling dynamic imports on bundle org.apache.camel.camel-ftp [466]

However; that did not help – I still get the same error.

Found this “In a local project, maven-bundle-plugin. Section configuration, 
DynamicImport-Package. Add a line 
org.apache.camel.pollconsumer.quartz;version="[3,4)"” in 
https://stackoverflow.com/questions/59375621/camel-3-in-osgi-no-load-scheduledpollconsumerscheduler.

Br

  Jp


Lähettäjä: Claus Ibsen <claus.ib...@gmail.com>
Päivämäärä: torstaina, 14. huhtikuuta 2022 klo 14.00
Vastaanottaja: users@camel.apache.org <users@camel.apache.org>
Aihe: Re: Camel-ftp / quartz scheduler
You can try the dev:dynamic-import  command on the camel-ftp bundle,
as this may open up so it can import any packages to load the quartz.

On Thu, Apr 14, 2022 at 12:48 PM Jonipentti Järvinen
<jonipentti.jarvi...@uef.fi> wrote:
>
> Hi,
>
> I’m trying to poll files from sftp server once per day using camel-quartz but 
> it won’t work:
> Cannot load 
> org.apache.camel.pollconsumer.quartz.QuartzScheduledPollConsumerScheduler 
> from classpath. Make sure camel-quartz.jar is on the classpath.
>
> <from 
> uri="{{backend.uri}}?scheduler=quartz&amp;shceduler.cron=0+0+18+?+*+1-7&amp;…/>
>
> Camel 3.11.3, Karaf 4.3.3. I’m using blueprint xml.
>
> Camel-quartz itself works fine for a number of scheduled jobs:
> <from uri="quartz://quartz-job-1?cron=0+0+22+?+*+1-7" />
> …
>
> Br
>
>   Jp
>
>
>


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

Reply via email to