camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Camel > ScheduledRoutePolicy
Date Thu, 30 Sep 2010 17:11:00 GMT
    <base href="">
            <link rel="stylesheet" href="/confluence/s/1810/9/1/_/styles/combined.css?spaceKey=CAMEL&amp;forWysiwyg=true"
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="">ScheduledRoutePolicy</a></h2>
    <h4>Page  <b>added</b> by             <a href="">Ashwin
    <div class="notificationGreySide">
         <h2><a name="ScheduledRoutePolicy-ScheduledRoutePolicy"></a>ScheduledRoutePolicy</h2>
<p><b>Available as of Camel 2.5</b></p>

<p>A scheduled route policy <tt>org.apache.camel.routepolicy.quartz.ScheduledRoutePolicy</tt>
is an extensible abstract policy that is used to provide camel route scheduling capabilities
at runtime. </p>

<p>Scheduling of routes typically involves  the following capabilities</p>

	<li>Route activation - Starting a route a given start time if the route is in a stopped
state awaiting activation.</li>
	<li>Route de-activation - Shutting down an otherwise active and started route at a
given time.</li>
	<li>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.</li>
	<li>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.</li>

<p>Camel offers 2 such concrete policies that offer scheduled route policy support</p>

	<li>SimpleScheduledRoutePolicy - An ability to offer route scheduling services using
a Simple Quartz Trigger</li>
	<li>CronScheduledRoutePolicy - An ability to offer route scheduling services using
a Cron based Quartz Trigger</li>

    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href=""
class="grey">Change Notification Preferences</a>
       <a href="">View
       <a href=";showCommentArea=true#addcomment">Add

View raw message