Author: buildbot
Date: Tue Mar  4 11:18:47 2014
New Revision: 899973

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/cronscheduledroutepolicy.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/cronscheduledroutepolicy.html
==============================================================================
--- websites/production/camel/content/cronscheduledroutepolicy.html (original)
+++ websites/production/camel/content/cronscheduledroutepolicy.html Tue Mar  4 
11:18:47 2014
@@ -85,77 +85,35 @@
        <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 
id="CronScheduledRoutePolicy-CronScheduledRoutePolicy">CronScheduledRoutePolicy</h2>
-<p><strong>Available as of Camel version 2.6</strong></p>
-
-<p>CronScheduledRoutePolicy is a <a shape="rect" 
href="scheduledroutepolicy.html">ScheduledRoutePolicy</a> that facilitates 
route activation, de-activation, suspension and resumption of routes based on a 
<a shape="rect" href="quartz.html">Quartz</a> <code>CronTrigger</code>.</p>
-
-<p>Maven users will need to add a camel-quartz dependency to their 
<code>pom.xml</code> to avail this capability.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-&lt;dependency&gt;
+<div class="wiki-content maincontent"><h2 
id="CronScheduledRoutePolicy-CronScheduledRoutePolicy">CronScheduledRoutePolicy</h2><p><strong>Available
 as of Camel version 2.6</strong></p><p>CronScheduledRoutePolicy is a <a 
shape="rect" href="scheduledroutepolicy.html">ScheduledRoutePolicy</a> that 
facilitates route activation, de-activation, suspension and resumption of 
routes based on a <a shape="rect" href="quartz.html">Quartz</a> 
<code>CronTrigger</code>.</p><p>Maven users will need to add a camel-quartz 
dependency to their <code>pom.xml</code> to avail this capability.</p><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-quartz&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;
     &lt;!-- use the same version as your Camel core version --&gt;
 &lt;/dependency&gt;
 ]]></script>
-</div></div>
-
-    <div class="aui-message success shadowed information-macro">
+</div></div>    <div class="aui-message success shadowed information-macro">
                     <p class="title">Relationship to the [Quartz] component</p>
                             <span class="aui-icon icon-success">Icon</span>
                 <div class="message-content">
-                            
-<p>All Scheduled route policies share the scheduler created by the Quartz 
component. In this way, scheduler, jobs and triggers can be managed in a common 
and consistent way.</p>
+                            <p>All Scheduled route policies share the 
scheduler created by the Quartz component. In this way, scheduler, jobs and 
triggers can be managed in a common and consistent way.</p>
                     </div>
     </div>
-
-
     <div class="aui-message success shadowed information-macro">
                     <p class="title">Relationship to the [Quartz2] 
component</p>
                             <span class="aui-icon icon-success">Icon</span>
                 <div class="message-content">
-                            
-<p>From Camel 2.12.2 onwards you can also make use of the <a shape="rect" 
href="quartz2.html">Quartz2</a> based implementation of this route policy.</p>
+                            <p>From Camel 2.12.2 onwards you can also make use 
of the <a shape="rect" href="quartz2.html">Quartz2</a> based implementation of 
this route policy.</p><div class="code panel pdl" style="border-width: 
1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[&lt;bean id=&quot;myStartPolicy&quot; 
class=&quot;org.apache.camel.routepolicy.quartz2.CronScheduledRoutePolicy&quot;&gt;
+  &lt;!-- start every 5min from monday to saturday --&gt;
+  &lt;property name=&quot;routeStartTime&quot; value=&quot;0 0/5 * ? * 1-6 
*&quot; /&gt;
+&lt;/bean&gt;
+]]></script>
+</div></div><p>See <a shape="rect" 
href="cronscheduledroutepolicy.html">CronScheduledRoutePolicy 
description</a>.</p>
                     </div>
     </div>
-
-
-<h3 id="CronScheduledRoutePolicy-Howitworks">How it works</h3>
-
-<p>In order to use a <a shape="rect" 
href="cronscheduledroutepolicy.html">CronScheduledRoutePolicy</a> it is 
necessary to instantiate an object of the type 
<code>org.apache.camel.routepolicy.quartz.CronScheduledRoutePolicy</code>.</p>
-
-<p>In order to perform a route operation at a given time the following 
information must be provided.</p>
-
-<ul><li>Starting a route
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Parameter Name </p></th><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Type </p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p> Default Value </p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> routeStartTime </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> the initial scheduled Date and time as a 
Cron Expression for route start </p></td></tr></tbody></table></div>
-</li></ul>
-
-
-<ul><li>Stopping a route
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Parameter Name </p></th><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Type </p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p> Default Value </p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> routeStopTime </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> the initial scheduled Date and time as a 
Cron Expression for route stop </p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p> routeStopGracePeriod </p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> int </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> 10 seconds </p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p
 > the time period to wait before initiating graceful route stop 
 > </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
 > routeStopTimeUnit </p></td><td colspan="1" rowspan="1" 
 > class="confluenceTd"><p> long </p></td><td colspan="1" rowspan="1" 
 > class="confluenceTd"><p> TimeUnit.MILLISECONDS </p></td><td colspan="1" 
 > rowspan="1" class="confluenceTd"><p> the time unit for the grace period 
 > expressed as java.util.concurrent.TimeUnit 
 > </p></td></tr></tbody></table></div>
-</li></ul>
-
-
-<ul><li>Suspending a route
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Parameter Name </p></th><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Type </p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p> Default Value </p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> routeSuspendTime </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> the initial scheduled Date and time as a 
Cron Expression for route suspension </p></td></tr></tbody></table></div>
-</li></ul>
-
-
-<ul><li>Resuming a route
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Parameter Name </p></th><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Type </p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p> Default Value </p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p> routeResumeTime </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> the initial scheduled Date and time as a 
Cron Expression for route resumption </p></td></tr></tbody></table></div>
-</li></ul>
-
-
-<p>Once the 
<code>org.apache.camel.routepolicy.quartz.CronScheduledRoutePolicy</code> is 
created it can be wired into the camel route as follows</p>
-
-<h3 id="CronScheduledRoutePolicy-Configuringthepolicy">Configuring the 
policy</h3>
-
-<ul><li>In Java</li></ul>
-
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+<h3 id="CronScheduledRoutePolicy-Howitworks">How it works</h3><p>In order to 
use a <a shape="rect" 
href="cronscheduledroutepolicy.html">CronScheduledRoutePolicy</a> it is 
necessary to instantiate an object of the type 
<code>org.apache.camel.routepolicy.quartz.CronScheduledRoutePolicy</code>.</p><p>In
 order to perform a route operation at a given time the following information 
must be provided.</p><ul><li><p>Starting a route</p><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Parameter Name</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Default Value</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>routeStartTime</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>&#160;</p><
 /td><td colspan="1" rowspan="1" class="confluenceTd"><p>the initial scheduled 
Date and time as a Cron Expression for route 
start</p></td></tr></tbody></table></div></li></ul><ul><li><p>Stopping a 
route</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th 
colspan="1" rowspan="1" class="confluenceTh"><p>Parameter Name</p></th><th 
colspan="1" rowspan="1" class="confluenceTh"><p>Type</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Default Value</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>routeStopTime</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>the initial scheduled Date and time as a Cron 
Expression for route stop</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>routeStopGracePeriod</p></td><
 td colspan="1" rowspan="1" class="confluenceTd"><p>int</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>10 seconds</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>the time period to wait before initiating 
graceful route stop</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>routeStopTimeUnit</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>long</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>TimeUnit.MILLISECONDS</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>the time unit for the grace period 
expressed as 
java.util.concurrent.TimeUnit</p></td></tr></tbody></table></div></li></ul><ul><li><p>Suspending
 a route</p><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Parameter Name</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Default Value</p></th><th colspan="1" row
 span="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>routeSuspendTime</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>the initial scheduled Date and time as a Cron 
Expression for route 
suspension</p></td></tr></tbody></table></div></li></ul><ul><li><p>Resuming a 
route</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th 
colspan="1" rowspan="1" class="confluenceTh"><p>Parameter Name</p></th><th 
colspan="1" rowspan="1" class="confluenceTh"><p>Type</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Default Value</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>routeResumeTime</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1
 " rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>the initial scheduled Date and time as a 
Cron Expression for route 
resumption</p></td></tr></tbody></table></div></li></ul><p>Once the 
<code>org.apache.camel.routepolicy.quartz.CronScheduledRoutePolicy</code> is 
created it can be wired into the camel route as follows</p><h3 
id="CronScheduledRoutePolicy-Configuringthepolicy">Configuring the 
policy</h3><ul><li>In Java</li></ul><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[ 
 CronScheduledRoutePolicy startPolicy = new CronScheduledRoutePolicy();
 startPolicy.setRouteStartTime(&quot;*/3 * * * * ?&quot;);
@@ -164,14 +122,8 @@ from(&quot;direct:start&quot;)
     .routeId(&quot;testRoute&quot;).routePolicy(startPolicy).noAutoStartup()
     .to(&quot;mock:success&quot;);;
 ]]></script>
-</div></div>
-
-<ul><li>Using Spring</li></ul>
-
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-&lt;bean id=&quot;startPolicy&quot; 
class=&quot;org.apache.camel.routepolicy.quartz.CronScheduledRoutePolicy&quot;&gt;
+</div></div><ul><li>Using Spring</li></ul><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[&lt;bean id=&quot;startPolicy&quot; 
class=&quot;org.apache.camel.routepolicy.quartz.CronScheduledRoutePolicy&quot;&gt;
     &lt;property name=&quot;routeStartTime&quot; value=&quot;*/3 * * * * 
?&quot;/&gt;
 &lt;/bean&gt;
     
@@ -182,12 +134,7 @@ from(&quot;direct:start&quot;)
     &lt;/route&gt;
 &lt;/camelContext&gt;
 ]]></script>
-</div></div>
-
-<h3 id="CronScheduledRoutePolicy-SeeAlso">See Also</h3>
-<p><a shape="rect" href="scheduledroutepolicy.html">ScheduledRoutePolicy</a> - 
for information on policy based scheduling capability for camel routes<br 
clear="none">
-<a shape="rect" href="routepolicy.html">RoutePolicy</a> - for information on 
route policies in general<br clear="none">
-<a shape="rect" href="quartz.html">Quartz</a> -for more information on the 
quartz component</p></div>
+</div></div><h3 id="CronScheduledRoutePolicy-SeeAlso">See Also</h3><p><a 
shape="rect" href="scheduledroutepolicy.html">ScheduledRoutePolicy</a> - for 
information on policy based scheduling capability for camel routes<br 
clear="none"> <a shape="rect" href="routepolicy.html">RoutePolicy</a> - for 
information on route policies in general<br clear="none"> <a shape="rect" 
href="quartz.html">Quartz</a> -for more information on the quartz 
component</p></div>
         </td>
         <td valign="top">
           <div class="navigation">


Reply via email to