Class ScheduledRoutePolicy

  • All Implemented Interfaces:
    AutoCloseable, org.apache.camel.NonManagedService, ScheduledRoutePolicyConstants, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.RoutePolicy, org.apache.camel.StatefulService, org.apache.camel.SuspendableService
    Direct Known Subclasses:
    CronScheduledRoutePolicy, SimpleScheduledRoutePolicy

    public abstract class ScheduledRoutePolicy
    extends org.apache.camel.support.RoutePolicySupport
    implements ScheduledRoutePolicyConstants, org.apache.camel.NonManagedService
    This is Quartz based RoutePolicy implementation that re-use almost identical to "camel-quartz" component. The following has been updated: - Changed and used Quartz 2.x API call on all the area affected. - Stored JobKey and TriggerKey instead of JobDetail and Trigger objects in ScheduledRouteDetails. - ScheduledJobState is stored using full JobKey.toString() instead of just jobName. See org.apache.camel.component.quartz.QuartzComponent