Registry / messaging / camel-quartz

camel-quartz

JSON →
library4.19.0javamavenunverified

Apache Camel component for scheduling messages using the Quartz scheduler.

<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-quartz</artifactId> <version>4.19.0</version> </dependency>
INSTALL
IMPORT
SIG · CAMEL-QUARTZ
C
camel-quartz
messagingjavav4.19.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

QuartzComponent
org.apache.camel.component.quartz.QuartzComponent

Schedule a Camel route to trigger every 5 seconds using Quartz cron expression.

import org.apache.camel.CamelContext; import org.apache.camel.impl.DefaultCamelContext; import org.apache.camel.component.quartz.QuartzComponent; public class Example { public static void main(String[] args) throws Exception { CamelContext context = new DefaultCamelContext(); context.addComponent("quartz", new QuartzComponent()); context.addRoutes(new RouteBuilder() { @Override public void configure() { from("quartz://myGroup/myTimer?cron=0/5+*+*+*+*+?") .to("log:triggered"); } }); context.start(); Thread.sleep(10000); context.stop(); } }
Debug
Known issues
breakingCamel Quartz 4.x uses Quartz 2.x API; Camel 3.x used Quartz 1.x. Check compatibility.
fix
Use camel-quartz version matching your Camel major version (e.g., 4.x for Camel 4).
affects: >=4.0.0
Upgrade
Version history
4.19.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
Amazon
1
OpenAI (training)
1
Resources
camel-quartz — mvn dependency:get camel-quartz · libregistry