cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r872288 - in /websites/production/cxf/content: cache/docs.pageCache docs/failoverfeature.html
Date Thu, 01 Aug 2013 12:48:04 GMT
Author: buildbot
Date: Thu Aug  1 12:48:03 2013
New Revision: 872288

Production update by buildbot for cxf


Modified: websites/production/cxf/content/cache/docs.pageCache
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/failoverfeature.html
--- websites/production/cxf/content/docs/failoverfeature.html (original)
+++ websites/production/cxf/content/docs/failoverfeature.html Thu Aug  1 12:48:03 2013
@@ -135,7 +135,8 @@ Apache CXF -- FailoverFeature
 <h1><a shape="rect" name="FailoverFeature-Failover"></a>Failover </h1>
 <p>The CXF Failover feature allows to configure CXF frontend clients to retry a call
when the target endpoint becomes unavailable.<br clear="none">
-A number of retry strategies available: a client can iterate sequentially over the alternative
addresses or chose them randomly.  </p>
+A number of retry strategies available: a client can iterate sequentially over the alternative
addresses or chose them randomly.  <br clear="none">
+Every strategy can be configured to do a delay between selecting the addresses.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
@@ -161,6 +162,8 @@
         &lt;property name="alternateAddresses"&gt;
             &lt;ref bean="addressList"/&gt;
+        &lt;!-- delay a retry for 1/10 of a second --&gt;
+        &lt;property name="delayBetweenRetries" value="100"/&gt;
     &lt;bean id="RandomAddresses" class="org.apache.cxf.clustering.RandomStrategy"&gt;
@@ -197,6 +200,8 @@
+<p>Note, org.apache.cxf.clustering.RetryStrategy can be used to retry the same, last
address for a limited number of times, before switching to the next address. Use RetryStrategy
'maxNumberOfRetries' property. RetryStrategy currently uses a sequential algorithm for selecting
the addresses. </p>
 <h1><a shape="rect" name="FailoverFeature-LoadDistribution"></a>Load Distribution</h1>
 <p>Load Distributor Feature is a Failover feature which can allow the clients to iterate
over alternative addresses on every new call, irrespectively of whether the last call has
reached its target or not. It can help with the controlling the traffic originating from CXF
clients at individual servers. </p>
@@ -213,8 +218,8 @@"&gt;
-    &lt;bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/&gt;
+    &lt;bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/&gt;
     &lt;util:list id="addressList"&gt;

View raw message