camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Camel > ScheduledRoutePolicy
Date Thu, 30 Sep 2010 17:11:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/1/_/styles/combined.css?spaceKey=CAMEL&amp;forWysiwyg=true"
type="text/css">
    </head>
<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="https://cwiki.apache.org/confluence/display/CAMEL/ScheduledRoutePolicy">ScheduledRoutePolicy</a></h2>
    <h4>Page  <b>added</b> by             <a href="https://cwiki.apache.org/confluence/display/~akarpe">Ashwin
Karpe</a>
    </h4>
         <br/>
    <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>

<ul>
	<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>
</ul>


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

<ul>
	<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>
</ul>

    </div>
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>
       <a href="https://cwiki.apache.org/confluence/display/CAMEL/ScheduledRoutePolicy">View
Online</a>
              |
       <a href="https://cwiki.apache.org/confluence/display/CAMEL/ScheduledRoutePolicy?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message