Details
-
Type:
New Feature
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.15.3
-
Fix Version/s: 2.17.0
-
Component/s: camel-scala
-
Labels:None
-
Patch Info:Patch Available
-
Flags:Patch
Description
As a developer wanting to use quartz2 scheduler and wanting to use CronScheduledRoutePolicy to be able to configure the route start time, suspend time and resume time, I would like to do the following
routepolicysample.scala
val rpolicy = new CronScheduledRoutePolicy rpolicy.setRouteStartTime("0 30 * * *") from("quartz2://mytest/test?cron=0+0/2+*+*+*+?") .routePolicy(rpolicy).noAutoStart() .to("log:foo")