You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2012/09/10 10:19:39 UTC

svn commit: r831572 - in /websites/production/camel/content: book-in-one-page.html book-pattern-appendix.html cache/main.pageCache camel-2110-release.html dead-letter-channel.html

Author: buildbot
Date: Mon Sep 10 08:19:38 2012
New Revision: 831572

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/book-pattern-appendix.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/camel-2110-release.html
    websites/production/camel/content/dead-letter-channel.html

Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Mon Sep 10 08:19:38 2012
@@ -14825,7 +14825,7 @@ from(<span class="code-quote">"activemq:
 <h3><a shape="rect" name="BookInOnePage-Controlifredeliveryisallowedduringstopping%2Fshutdown"></a>Control if redelivery is allowed during stopping/shutdown</h3>
 <p><b>Available as of Camel 2.11</b></p>
 
-<p>In Camel 2.10 or earlier, Camel will perform redelivery while stopping a route, or shutting down Camel. This has improved a bit in Camel 2.10 onwards, as Camel will not perform redelivery attempts when shutting down aggressively (eg during <a shape="rect" href="graceful-shutdown.html" title="Graceful Shutdown">Graceful Shutdown</a> and timeout hit). From Camel 2.11 onwards there is a new option <tt>redeliverWhileStopping</tt> which you can use to control if redelivery is allowed or not. </p>
+<p>In Camel 2.10 or earlier, Camel will perform redelivery while stopping a route, or shutting down Camel. This has improved a bit in Camel 2.10 onwards, as Camel will not perform redelivery attempts when shutting down aggressively (eg during <a shape="rect" href="graceful-shutdown.html" title="Graceful Shutdown">Graceful Shutdown</a> and timeout hit). From Camel 2.11 onwards there is a new option <tt>allowRedeliveryWhileStopping</tt> which you can use to control if redelivery is allowed or not; notice that any in progress redelivery will still be executed. This option can only disallow any redelivery to be executed <b>after</b> the stopping of a route/shutdown of Camel has been triggered. If a redelivery is dissallowed then a <tt>RejectedExcutionException</tt> is set on the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> and the processing of the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> stops. This means any consumer will see the
  <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> as failed due the <tt>RejectedExecutionException</tt>.</p>
 
 <p>The default value is <tt>true</tt> to be backwards compatible as before. For example the following sample shows how to do this with Java DSL and XML DSL</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
@@ -14833,7 +14833,7 @@ from(<span class="code-quote">"activemq:
 <span class="code-comment">// <span class="code-keyword">this</span> error handler will <span class="code-keyword">try</span> up till 20 redelivery attempts with 1 second between.
 </span><span class="code-comment">// however <span class="code-keyword">if</span> we are stopping then <span class="code-keyword">do</span> not allow any redeliver attempts.
 </span>errorHandler(defaultErrorHandler()
-        .redeliverWhileStopping(<span class="code-keyword">false</span>)
+        .allowRedeliveryWhileStopping(<span class="code-keyword">false</span>)
         .maximumRedeliveries(20).redeliveryDelay(1000).retryAttemptedLogLevel(LoggingLevel.INFO));
 
 from(<span class="code-quote">"seda:foo"</span>).routeId(<span class="code-quote">"foo"</span>)
@@ -14850,7 +14850,7 @@ from(<span class="code-quote">"seda:foo"
 	&lt;!-- configure error handler, to redeliver up till 10 times, with 1 sec delay
 	     and if we are stopping then do not allow redeliveries, to stop faster --&gt;
 	<span class="code-tag">&lt;errorHandler id=<span class="code-quote">"myErrorHandler"</span> type=<span class="code-quote">"DefaultErrorHandler"</span>&gt;</span>
-		<span class="code-tag">&lt;redeliveryPolicy maximumRedeliveries=<span class="code-quote">"20"</span> redeliveryDelay=<span class="code-quote">"1000"</span> redeliverWhileStopping=<span class="code-quote">"false"</span> retryAttemptedLogLevel=<span class="code-quote">"INFO"</span>/&gt;</span>
+		<span class="code-tag">&lt;redeliveryPolicy maximumRedeliveries=<span class="code-quote">"20"</span> redeliveryDelay=<span class="code-quote">"1000"</span> allowRedeliveryWhileStopping=<span class="code-quote">"false"</span> retryAttemptedLogLevel=<span class="code-quote">"INFO"</span>/&gt;</span>
 	<span class="code-tag">&lt;/errorHandler&gt;</span>
 
        <span class="code-tag">&lt;route id=<span class="code-quote">"foo"</span>&gt;</span>

Modified: websites/production/camel/content/book-pattern-appendix.html
==============================================================================
--- websites/production/camel/content/book-pattern-appendix.html (original)
+++ websites/production/camel/content/book-pattern-appendix.html Mon Sep 10 08:19:38 2012
@@ -632,7 +632,7 @@ from(<span class="code-quote">"activemq:
 <h3><a shape="rect" name="BookPatternAppendix-Controlifredeliveryisallowedduringstopping%2Fshutdown"></a>Control if redelivery is allowed during stopping/shutdown</h3>
 <p><b>Available as of Camel 2.11</b></p>
 
-<p>In Camel 2.10 or earlier, Camel will perform redelivery while stopping a route, or shutting down Camel. This has improved a bit in Camel 2.10 onwards, as Camel will not perform redelivery attempts when shutting down aggressively (eg during <a shape="rect" href="graceful-shutdown.html" title="Graceful Shutdown">Graceful Shutdown</a> and timeout hit). From Camel 2.11 onwards there is a new option <tt>redeliverWhileStopping</tt> which you can use to control if redelivery is allowed or not. </p>
+<p>In Camel 2.10 or earlier, Camel will perform redelivery while stopping a route, or shutting down Camel. This has improved a bit in Camel 2.10 onwards, as Camel will not perform redelivery attempts when shutting down aggressively (eg during <a shape="rect" href="graceful-shutdown.html" title="Graceful Shutdown">Graceful Shutdown</a> and timeout hit). From Camel 2.11 onwards there is a new option <tt>allowRedeliveryWhileStopping</tt> which you can use to control if redelivery is allowed or not; notice that any in progress redelivery will still be executed. This option can only disallow any redelivery to be executed <b>after</b> the stopping of a route/shutdown of Camel has been triggered. If a redelivery is dissallowed then a <tt>RejectedExcutionException</tt> is set on the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> and the processing of the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> stops. This means any consumer will see the
  <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> as failed due the <tt>RejectedExecutionException</tt>.</p>
 
 <p>The default value is <tt>true</tt> to be backwards compatible as before. For example the following sample shows how to do this with Java DSL and XML DSL</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
@@ -640,7 +640,7 @@ from(<span class="code-quote">"activemq:
 <span class="code-comment">// <span class="code-keyword">this</span> error handler will <span class="code-keyword">try</span> up till 20 redelivery attempts with 1 second between.
 </span><span class="code-comment">// however <span class="code-keyword">if</span> we are stopping then <span class="code-keyword">do</span> not allow any redeliver attempts.
 </span>errorHandler(defaultErrorHandler()
-        .redeliverWhileStopping(<span class="code-keyword">false</span>)
+        .allowRedeliveryWhileStopping(<span class="code-keyword">false</span>)
         .maximumRedeliveries(20).redeliveryDelay(1000).retryAttemptedLogLevel(LoggingLevel.INFO));
 
 from(<span class="code-quote">"seda:foo"</span>).routeId(<span class="code-quote">"foo"</span>)
@@ -657,7 +657,7 @@ from(<span class="code-quote">"seda:foo"
 	&lt;!-- configure error handler, to redeliver up till 10 times, with 1 sec delay
 	     and if we are stopping then do not allow redeliveries, to stop faster --&gt;
 	<span class="code-tag">&lt;errorHandler id=<span class="code-quote">"myErrorHandler"</span> type=<span class="code-quote">"DefaultErrorHandler"</span>&gt;</span>
-		<span class="code-tag">&lt;redeliveryPolicy maximumRedeliveries=<span class="code-quote">"20"</span> redeliveryDelay=<span class="code-quote">"1000"</span> redeliverWhileStopping=<span class="code-quote">"false"</span> retryAttemptedLogLevel=<span class="code-quote">"INFO"</span>/&gt;</span>
+		<span class="code-tag">&lt;redeliveryPolicy maximumRedeliveries=<span class="code-quote">"20"</span> redeliveryDelay=<span class="code-quote">"1000"</span> allowRedeliveryWhileStopping=<span class="code-quote">"false"</span> retryAttemptedLogLevel=<span class="code-quote">"INFO"</span>/&gt;</span>
 	<span class="code-tag">&lt;/errorHandler&gt;</span>
 
        <span class="code-tag">&lt;route id=<span class="code-quote">"foo"</span>&gt;</span>

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

Modified: websites/production/camel/content/camel-2110-release.html
==============================================================================
--- websites/production/camel/content/camel-2110-release.html (original)
+++ websites/production/camel/content/camel-2110-release.html Mon Sep 10 08:19:38 2012
@@ -84,7 +84,7 @@
 
 <p>Welcome to the 2.11.0 release with approximately XXX issues resolved - including new features, improvements, and bug fixes, such as: </p>
 
-<ul><li>Added support for SOAP 1.2 in <a shape="rect" href="soap.html" title="SOAP">SOAP</a> data format.</li><li><a shape="rect" href="cache.html" title="Cache">Cache</a> operation for add/update now supports expiry headers to control time to live/idle/eternal.</li><li>Added <tt>allowNullBody</tt> option to <a shape="rect" href="jms.html" title="JMS">JMS</a> to configure whether sending messages with no body is allowed.</li><li>Added <tt>connectOnStartup</tt> option to <a shape="rect" href="hdfs.html" title="HDFS">HDFS</a> to allow to connect on demand, to avoid having Hadoop block for long time connecting to the HDFS cluster, as it has a hardcoded 15 minute retry mechanism.</li><li>Added support for daily and weekly trends to <a shape="rect" href="twitter.html" title="Twitter">Twitter</a> component.</li><li>The <a shape="rect" href="camel-maven-archetypes.html" title="Camel Maven Archetypes">Camel Maven Archetypes</a> now generates projects without any license headers.</li
 ><li>Added 'rejectOld' option to the <a shape="rect" href="resequencer.html" title="Resequencer">Resequencer</a> to prevent out of order messages from being delivered after capacity/timeout events occur</li><li>Further optimized <a shape="rect" href="xpath.html" title="XPath">XPath</a> under concurrent load, and as well ensured resources are cleaned up eagerly</li><li>Added options <tt>allowNullBody</tt> and <tt>readLockMinLength</tt> to the <a shape="rect" href="file2.html" title="File2">File</a> and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> components.</li><li>Made <tt>changed</tt> read lock strategy on <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> go faster (eg when the FTP server has a lot of files in the directory) if you enable the <tt>fastExistsCheck=true</tt> option as well. Notice that some FTP server may not support this.</li><li><a shape="rect" href="hl7.html" title="HL7">HL7</a> moves to HAPI 2.0 and supports using a dedicated Parser instance 
 in the <a shape="rect" href="hl7.html" title="HL7">HL7</a> MLLP codec and DataFormat. Added "Terser" language and expression to be able to extract fields from a parsed message. <a shape="rect" href="hl7.html" title="HL7">HL7</a> now uses Apache Mina 2.x.</li><li>Add an option <tt>HttpMethodRestrict</tt> to restrict HTTP method in <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> and <a shape="rect" href="servlet.html" title="SERVLET">SERVLET</a></li><li>Add support for selection of <a shape="rect" href="direct-vm.html" title="Direct-VM">Direct-VM</a> consumers by using ant-like path expression.</li><li>The <a shape="rect" href="pojo-producing.html" title="POJO Producing">POJO Producing</a>, and <a shape="rect" href="pojo-consuming.html" title="POJO Consuming">POJO Consuming</a> with @Consume, @Produce, @EndpointInject now supports a new {{property} attribute to get the endpoint configuration from a bean property (eg using a getter method); this allows you to configur
 e this on the bean using conventional bean configuration.</li><li>Testing with <tt>camel-test-blueprint</tt> on Windows no longer tries to cleanup after testing taking up 5 seconds and logging WARNs.</li><li>The <a shape="rect" href="file2.html" title="File2">File</a>, and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> components now support <tt>fileExist=Move</tt> option to move any existing files before writing a file.</li><li>Added option <tt>loadStatisticsEnabled</tt> on <a shape="rect" href="camel-jmx.html" title="Camel JMX">Camel JMX</a> to allow to disable load statistics if not needed (avoids a background thread being in use, to calculate the load stats).</li><li>Enabled "lazy connections" for <a shape="rect" href="xmpp.html" title="XMPP">XMPP</a> providers via the <tt>testConnectionOnStartup</tt> option</li><li>Added a connection monitor to detect and fix dropped <a shape="rect" href="xmpp.html" title="XMPP">XMPP</a> consumer connections at configurable <tt>c
 onnectionPollDelay</tt> intervals</li><li>Added an <tt>org.apache.camel.builder.ExchangeBuilder</tt> to build the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> using a builder pattern.</li><li>The <a shape="rect" href="camel-run-maven-goal.html" title="Camel Run Maven Goal">Camel Run Maven Goal</a> can now run <a shape="rect" href="cdi.html" title="CDI">CDI</a> applications.</li><li>The Camel <a shape="rect" href="cdi.html" title="CDI">CDI</a> component has improved a lot.</li><li>Added option <tt>redeliverWhileStopping</tt> to <a shape="rect" href="dead-letter-channel.html" title="Dead Letter Channel">error handlers</a> to control if redelivery is allowed during stopping/shutting down Camel or the route(s). Turning this option <tt>false</tt> allows to stop quicker by rejecting redelivery attempts.</li></ul>
+<ul><li>Added support for SOAP 1.2 in <a shape="rect" href="soap.html" title="SOAP">SOAP</a> data format.</li><li><a shape="rect" href="cache.html" title="Cache">Cache</a> operation for add/update now supports expiry headers to control time to live/idle/eternal.</li><li>Added <tt>allowNullBody</tt> option to <a shape="rect" href="jms.html" title="JMS">JMS</a> to configure whether sending messages with no body is allowed.</li><li>Added <tt>connectOnStartup</tt> option to <a shape="rect" href="hdfs.html" title="HDFS">HDFS</a> to allow to connect on demand, to avoid having Hadoop block for long time connecting to the HDFS cluster, as it has a hardcoded 15 minute retry mechanism.</li><li>Added support for daily and weekly trends to <a shape="rect" href="twitter.html" title="Twitter">Twitter</a> component.</li><li>The <a shape="rect" href="camel-maven-archetypes.html" title="Camel Maven Archetypes">Camel Maven Archetypes</a> now generates projects without any license headers.</li
 ><li>Added 'rejectOld' option to the <a shape="rect" href="resequencer.html" title="Resequencer">Resequencer</a> to prevent out of order messages from being delivered after capacity/timeout events occur</li><li>Further optimized <a shape="rect" href="xpath.html" title="XPath">XPath</a> under concurrent load, and as well ensured resources are cleaned up eagerly</li><li>Added options <tt>allowNullBody</tt> and <tt>readLockMinLength</tt> to the <a shape="rect" href="file2.html" title="File2">File</a> and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> components.</li><li>Made <tt>changed</tt> read lock strategy on <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> go faster (eg when the FTP server has a lot of files in the directory) if you enable the <tt>fastExistsCheck=true</tt> option as well. Notice that some FTP server may not support this.</li><li><a shape="rect" href="hl7.html" title="HL7">HL7</a> moves to HAPI 2.0 and supports using a dedicated Parser instance 
 in the <a shape="rect" href="hl7.html" title="HL7">HL7</a> MLLP codec and DataFormat. Added "Terser" language and expression to be able to extract fields from a parsed message. <a shape="rect" href="hl7.html" title="HL7">HL7</a> now uses Apache Mina 2.x.</li><li>Add an option <tt>HttpMethodRestrict</tt> to restrict HTTP method in <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> and <a shape="rect" href="servlet.html" title="SERVLET">SERVLET</a></li><li>Add support for selection of <a shape="rect" href="direct-vm.html" title="Direct-VM">Direct-VM</a> consumers by using ant-like path expression.</li><li>The <a shape="rect" href="pojo-producing.html" title="POJO Producing">POJO Producing</a>, and <a shape="rect" href="pojo-consuming.html" title="POJO Consuming">POJO Consuming</a> with @Consume, @Produce, @EndpointInject now supports a new {{property} attribute to get the endpoint configuration from a bean property (eg using a getter method); this allows you to configur
 e this on the bean using conventional bean configuration.</li><li>Testing with <tt>camel-test-blueprint</tt> on Windows no longer tries to cleanup after testing taking up 5 seconds and logging WARNs.</li><li>The <a shape="rect" href="file2.html" title="File2">File</a>, and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> components now support <tt>fileExist=Move</tt> option to move any existing files before writing a file.</li><li>Added option <tt>loadStatisticsEnabled</tt> on <a shape="rect" href="camel-jmx.html" title="Camel JMX">Camel JMX</a> to allow to disable load statistics if not needed (avoids a background thread being in use, to calculate the load stats).</li><li>Enabled "lazy connections" for <a shape="rect" href="xmpp.html" title="XMPP">XMPP</a> providers via the <tt>testConnectionOnStartup</tt> option</li><li>Added a connection monitor to detect and fix dropped <a shape="rect" href="xmpp.html" title="XMPP">XMPP</a> consumer connections at configurable <tt>c
 onnectionPollDelay</tt> intervals</li><li>Added an <tt>org.apache.camel.builder.ExchangeBuilder</tt> to build the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> using a builder pattern.</li><li>The <a shape="rect" href="camel-run-maven-goal.html" title="Camel Run Maven Goal">Camel Run Maven Goal</a> can now run <a shape="rect" href="cdi.html" title="CDI">CDI</a> applications.</li><li>The Camel <a shape="rect" href="cdi.html" title="CDI">CDI</a> component has improved a lot.</li><li>Added option <tt>allowRedeliveryWhileStopping</tt> to <a shape="rect" href="dead-letter-channel.html" title="Dead Letter Channel">error handlers</a> to control if redelivery is allowed during stopping/shutting down Camel or the route(s). Turning this option <tt>false</tt> allows to stop quicker by rejecting redelivery attempts.</li></ul>
 
 
 <h3><a shape="rect" name="Camel2.11.0Release-Fixedissues"></a>Fixed issues</h3>

Modified: websites/production/camel/content/dead-letter-channel.html
==============================================================================
--- websites/production/camel/content/dead-letter-channel.html (original)
+++ websites/production/camel/content/dead-letter-channel.html Mon Sep 10 08:19:38 2012
@@ -267,7 +267,7 @@ from(<span class="code-quote">"activemq:
 <h3><a shape="rect" name="DeadLetterChannel-Controlifredeliveryisallowedduringstopping%2Fshutdown"></a>Control if redelivery is allowed during stopping/shutdown</h3>
 <p><b>Available as of Camel 2.11</b></p>
 
-<p>In Camel 2.10 or earlier, Camel will perform redelivery while stopping a route, or shutting down Camel. This has improved a bit in Camel 2.10 onwards, as Camel will not perform redelivery attempts when shutting down aggressively (eg during <a shape="rect" href="graceful-shutdown.html" title="Graceful Shutdown">Graceful Shutdown</a> and timeout hit). From Camel 2.11 onwards there is a new option <tt>redeliverWhileStopping</tt> which you can use to control if redelivery is allowed or not. </p>
+<p>In Camel 2.10 or earlier, Camel will perform redelivery while stopping a route, or shutting down Camel. This has improved a bit in Camel 2.10 onwards, as Camel will not perform redelivery attempts when shutting down aggressively (eg during <a shape="rect" href="graceful-shutdown.html" title="Graceful Shutdown">Graceful Shutdown</a> and timeout hit). From Camel 2.11 onwards there is a new option <tt>allowRedeliveryWhileStopping</tt> which you can use to control if redelivery is allowed or not; notice that any in progress redelivery will still be executed. This option can only disallow any redelivery to be executed <b>after</b> the stopping of a route/shutdown of Camel has been triggered. If a redelivery is dissallowed then a <tt>RejectedExcutionException</tt> is set on the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> and the processing of the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> stops. This means any consumer will see the
  <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> as failed due the <tt>RejectedExecutionException</tt>.</p>
 
 <p>The default value is <tt>true</tt> to be backwards compatible as before. For example the following sample shows how to do this with Java DSL and XML DSL</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
@@ -275,7 +275,7 @@ from(<span class="code-quote">"activemq:
 <span class="code-comment">// <span class="code-keyword">this</span> error handler will <span class="code-keyword">try</span> up till 20 redelivery attempts with 1 second between.
 </span><span class="code-comment">// however <span class="code-keyword">if</span> we are stopping then <span class="code-keyword">do</span> not allow any redeliver attempts.
 </span>errorHandler(defaultErrorHandler()
-        .redeliverWhileStopping(<span class="code-keyword">false</span>)
+        .allowRedeliveryWhileStopping(<span class="code-keyword">false</span>)
         .maximumRedeliveries(20).redeliveryDelay(1000).retryAttemptedLogLevel(LoggingLevel.INFO));
 
 from(<span class="code-quote">"seda:foo"</span>).routeId(<span class="code-quote">"foo"</span>)
@@ -292,7 +292,7 @@ from(<span class="code-quote">"seda:foo"
 	&lt;!-- configure error handler, to redeliver up till 10 times, with 1 sec delay
 	     and if we are stopping then do not allow redeliveries, to stop faster --&gt;
 	<span class="code-tag">&lt;errorHandler id=<span class="code-quote">"myErrorHandler"</span> type=<span class="code-quote">"DefaultErrorHandler"</span>&gt;</span>
-		<span class="code-tag">&lt;redeliveryPolicy maximumRedeliveries=<span class="code-quote">"20"</span> redeliveryDelay=<span class="code-quote">"1000"</span> redeliverWhileStopping=<span class="code-quote">"false"</span> retryAttemptedLogLevel=<span class="code-quote">"INFO"</span>/&gt;</span>
+		<span class="code-tag">&lt;redeliveryPolicy maximumRedeliveries=<span class="code-quote">"20"</span> redeliveryDelay=<span class="code-quote">"1000"</span> allowRedeliveryWhileStopping=<span class="code-quote">"false"</span> retryAttemptedLogLevel=<span class="code-quote">"INFO"</span>/&gt;</span>
 	<span class="code-tag">&lt;/errorHandler&gt;</span>
 
        <span class="code-tag">&lt;route id=<span class="code-quote">"foo"</span>&gt;</span>