Author: buildbot
Date: Thu Aug  1 12:48:03 2013
New Revision: 872288

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/failoverfeature.html

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 @@ http://www.springframework.org/schema/ut
         &lt;property name="alternateAddresses"&gt;
             &lt;ref bean="addressList"/&gt;
         &lt;/property&gt;
+        &lt;!-- delay a retry for 1/10 of a second --&gt;
+        &lt;property name="delayBetweenRetries" value="100"/&gt;
     &lt;/bean&gt;
 
     &lt;bean id="RandomAddresses" 
class="org.apache.cxf.clustering.RandomStrategy"&gt;
@@ -197,6 +200,8 @@ http://www.springframework.org/schema/ut
 ]]></script>
 </div></div>
 
+<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 @@ http://www.springframework.org/schema/ut
 http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
 http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd
 http://www.springframework.org/schema/util 
http://www.springframework.org/schema/util/spring-util.xsd"&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;
         
&lt;value&gt;http://localhost:${testutil.ports.Server.1}/services1&lt;/value&gt;
         
&lt;value&gt;http://localhost:${testutil.ports.Server.2}/services2&lt;/value&gt;


Reply via email to