blob: 65ddd1c3a92286c72bb3040969a184443d50469e [file] [log] [blame]
= ScheduledRoutePolicy
A scheduled route policy
`org.apache.camel.routepolicy.quartz.ScheduledRoutePolicy` is an
extensible abstract policy that is used to provide camel route
scheduling capabilities at runtime.
Scheduling of routes typically involves the following capabilities
* Route activation - Starting a route a given start time if the route is
in a stopped state awaiting activation.
* Route de-activation - Shutting down an otherwise active and started
route at a given time.
* Route suspension - Simply de-activating the route consumer endpoint
URI declared on the from(...) section of the route from listening on a
given port. The route is still considered as started, however, clients
will not be able to send requests along the route.
* Route resumption - Resuming the listener on a formerly suspended route
consumer endpoint URI. This route is ready to accept requests following
route resumption and client requests will be accepted by the route
consumer to be forwarded along the route.
Camel offers 2 such concrete policies that offer scheduled route policy
support
* xref:simplescheduledroutepolicy.adoc[SimpleScheduledRoutePolicy] - An
ability to offer route scheduling services using a Simple Quartz Trigger
* xref:cronscheduledroutepolicy.adoc[CronScheduledRoutePolicy] - An
ability to offer route scheduling services using a Cron based Quartz
Trigger