I checked Chirag's updated example which contains RouteConfiguration as XML
and it worked.
Then I wondered what's the difference between Chirag's and my approach. It
turned out that the code is basically the same, but there was a difference
in used dependencies. Chirag's project uses:
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.
…
Br
Jp
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
wrote:
>
> Hi,
>
> I’m trying to poll files from sftp server once per day using camel-quartz but
> it wo
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.pollc
Hi
Yeah that may also help to make your own bundle import that package,
as the classloader ought to use also the osgi import specs from your
bundle, when camel is starting up.
But the world of OSGi classloading is . complex
On Thu, Apr 14, 2022 at 1:16 PM Jonipentti Järvinen
wrote:
>
> Hi,
>