Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.15.3
-
None
-
Patch Available
-
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")