cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r872278 - in /websites/production/cxf/content: cache/docs.pageCache docs/failoverfeature.html docs/featureslist.html docs/jax-rs-failover.html
Date Thu, 01 Aug 2013 11:48:03 GMT
Author: buildbot
Date: Thu Aug  1 11:48:03 2013
New Revision: 872278

Log:
Production update by buildbot for cxf

Added:
    websites/production/cxf/content/docs/failoverfeature.html
Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/featureslist.html
    websites/production/cxf/content/docs/jax-rs-failover.html

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

Added: websites/production/cxf/content/docs/failoverfeature.html
==============================================================================
--- websites/production/cxf/content/docs/failoverfeature.html (added)
+++ websites/production/cxf/content/docs/failoverfeature.html Thu Aug  1 11:48:03 2013
@@ -0,0 +1,294 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<html>
+  <head>
+    <link type="text/css" rel="stylesheet" href="http://cxf.apache.org/resources/site.css">
+    <script src="http://cxf.apache.org/resources/space.js" type="text/javascript"></script>
+    
+<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
+<meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture,
web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support,
integration standards, application integration, middleware, software, solutions, services,
CXF, open source">
+<meta name="description" content="Apache CXF, Services Framework - FailoverFeature">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCoreCXF.css' rel='stylesheet'
type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet'
type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
+    <title>
+Apache CXF -- FailoverFeature
+    </title>
+  </head>
+<body onload="init()">
+
+
+<table width="100%" cellpadding="0" cellspacing="0">
+  <tr>
+    <td id="cell-0-0" colspan="2">&nbsp;</td>
+    <td id="cell-0-1">&nbsp;</td>
+    <td id="cell-0-2" colspan="2">&nbsp;</td>
+  </tr>
+  <tr>
+    <td id="cell-1-0">&nbsp;</td>
+    <td id="cell-1-1">&nbsp;</td>
+    <td id="cell-1-2">
+      <!-- Banner -->
+<div class="banner" id="banner"><div><table border="0" cellpadding="0" cellspacing="0"
width="100%"><tr><td align="left" colspan="1" nowrap>
+<a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight:
bold; font-size: 170%; color: white">Apache CXF</span></a>
+</td><td align="right" colspan="1" nowrap>
+<a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img
border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
+</td></tr></table></div></div>
+      <!-- Banner -->
+      <div id="top-menu">
+        <table border="0" cellpadding="1" cellspacing="0" width="100%">
+          <tr>
+            <td>
+              <div align="left">
+                <!-- Breadcrumbs -->
+<a href="index.html">Index</a>&nbsp;&gt;&nbsp;<a href="configuration.html">Configuration</a>&nbsp;&gt;&nbsp;<a
href="featureslist.html">FeaturesList</a>&nbsp;&gt;&nbsp;<a href="failoverfeature.html">FailoverFeature</a>
+                <!-- Breadcrumbs -->
+              </div>
+            </td>
+            <td>
+              <div align="right">
+                <!-- Quicklinks -->
+<div id="quicklinks"><p><a shape="rect" href="http://cxf.apache.org/download.html">Download</a>
| <a shape="rect" href="http://cxf.apache.org/docs/index.html">Documentation</a></p></div>
+                <!-- Quicklinks -->
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
+    </td>
+    <td id="cell-1-3">&nbsp;</td>
+    <td id="cell-1-4">&nbsp;</td>
+  </tr>
+  <tr>
+    <td id="cell-2-0" colspan="2">&nbsp;</td>
+    <td id="cell-2-1">
+      <table>
+        <tr valign="top">
+          <td height="100%">
+            <div id="wrapper-menu-page-right">
+              <div id="wrapper-menu-page-top">
+                <div id="wrapper-menu-page-bottom">
+                  <div id="menu-page">
+                    <!-- NavigationBar -->
+<div id="navigation"><ul class="alternate" type="square"><li><a shape="rect"
href="overview.html" title="Overview">Overview</a></li><li><a shape="rect"
href="how-tos.html" title="How-Tos">How-Tos</a></li><li><a shape="rect"
href="frontends.html" title="Frontends">Frontends</a></li><li><a shape="rect"
href="databindings.html" title="DataBindings">DataBindings</a></li><li><a
shape="rect" href="transports.html" title="Transports">Transports</a></li><li><a
shape="rect" href="configuration.html" title="Configuration">Configuration</a></li><li><a
shape="rect" href="debugging-and-logging.html" title="Debugging and Logging">Debugging
and Logging</a></li><li><a shape="rect" href="tools.html" title="Tools">Tools</a></li><li><a
shape="rect" href="restful-services.html" title="RESTful Services">RESTful Services</a></li><li><a
shape="rect" href="wsdl-bindings.html" title="WSDL Bindings">WSDL Bindings</a></li><li><a
shape="rect" href="service-routing.html" title="Service Routing">Service Routing<
 /a></li><li><a shape="rect" href="dynamic-languages.html" title="Dynamic
Languages">Dynamic Languages</a></li><li><a shape="rect" href="ws-support.html"
title="WS-* Support">WS-* Support</a></li><li><a shape="rect" href="advanced-integration.html"
title="Advanced Integration">Advanced Integration</a></li><li><a shape="rect"
href="deployment.html" title="Deployment">Deployment</a></li><li><a
shape="rect" href="schemas-and-namespaces.html" title="Schemas and Namespaces">Use of Schemas
and Namespaces</a></li></ul>
+
+
+<hr>
+<ul class="alternate" type="square"><li>Search<br clear="none">
+
+<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+  <div>
+    <input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
+    <input type="hidden" name="ie" value="UTF-8">
+    <input type="text" name="q" size="21">
+    <input type="submit" name="sa" value="Search">
+  </div>
+</form>
+<script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&amp;lang=en"></script>
+</li></ul>
+
+
+<hr>
+<ul class="alternate" type="square"><li><a shape="rect" href="http://cxf.apache.org/javadoc/latest/">API
(Javadoc)</a></li><li><a shape="rect" href="http://cxf.apache.org/">CXF
Website</a></li></ul>
+
+</div>
+                    <!-- NavigationBar -->
+                  </div>
+              </div>
+            </div>
+          </div>
+         </td>
+         <td height="100%">
+           <!-- Content -->
+           <div class="wiki-content">
+<div id="ConfluenceContent"><p><span style="font-size:2em;font-weight:bold">
Failover and Load Distributor Features </span></p>
+
+<div>
+<ul><li><a shape="rect" href="#FailoverFeature-Failover">Failover</a></li><li><a
shape="rect" href="#FailoverFeature-LoadDistribution">Load Distribution</a></li><li><a
shape="rect" href="#FailoverFeature-ConfiguringJAXRSclients">Configuring JAX-RS clients</a></li></ul></div>
+
+<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>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+
+&lt;beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:jaxws="http://cxf.apache.org/jaxws"
+       xmlns:clustering="http://cxf.apache.org/clustering"
+       xmlns:util="http://www.springframework.org/schema/util"
+       xsi:schemaLocation="
+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;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;
+        &lt;value&gt;http://localhost:${testutil.ports.Server.3}/services3&lt;/value&gt;
+    &lt;/util:list&gt;
+
+    &lt;bean id="SequentialAddresses" class="org.apache.cxf.clustering.SequentialStrategy"&gt;
+        &lt;property name="alternateAddresses"&gt;
+            &lt;ref bean="addressList"/&gt;
+        &lt;/property&gt;
+    &lt;/bean&gt;
+
+    &lt;bean id="RandomAddresses" class="org.apache.cxf.clustering.RandomStrategy"&gt;
+        &lt;property name="alternateAddresses"&gt;
+            &lt;ref bean="addressList"/&gt;
+        &lt;/property&gt;
+    &lt;/bean&gt;
+
+    &lt;!-- other jaxws:client attributes and elements are omitted for brewity --&gt;
+    
+    &lt;jaxws:client id="clientWithSeqFailoverSupport" address="http://localhost:8080/services"&gt;
+       &lt;jaxws:features&gt;
+           &lt;clustering:failover&gt;
+                &lt;clustering:strategy&gt;
+                    &lt;ref bean="SequentialAddresses"/&gt;
+                &lt;/clustering:strategy&gt;
+            &lt;/clustering:failover&gt;
+       &lt;/jaxws:features&gt;
+    &lt;/jaxws:client&gt;
+
+    &lt;!-- other jaxws:client attributes and elements are omitted for brewity --&gt;
+
+    &lt;jaxws:client id="clientWithRandomFailoverSupport" address="http://localhost:8080/initialAddress"&gt;
+       &lt;jaxws:features&gt;
+           &lt;clustering:failover&gt;
+                &lt;clustering:strategy&gt;
+                    &lt;ref bean="RandomAddresses"/&gt;
+                &lt;/clustering:strategy&gt;
+            &lt;/clustering:failover&gt;
+       &lt;/jaxws:features&gt;
+    &lt;/jaxws:client&gt;
+
+&lt;/beans&gt;
+]]></script>
+</div></div>
+
+<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>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+
+&lt;beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:jaxws="http://cxf.apache.org/jaxws"
+       xmlns:clustering="http://cxf.apache.org/clustering"
+       xmlns:util="http://www.springframework.org/schema/util"
+       xsi:schemaLocation="
+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;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;
+        &lt;value&gt;http://localhost:${testutil.ports.Server.3}/services3&lt;/value&gt;
+    &lt;/util:list&gt;
+
+    &lt;bean id="SequentialAddresses" class="org.apache.cxf.clustering.SequentialStrategy"&gt;
+        &lt;property name="alternateAddresses"&gt;
+            &lt;ref bean="addressList"/&gt;
+        &lt;/property&gt;
+    &lt;/bean&gt;
+
+    &lt;!-- other jaxws:client attributes and elements are omitted for brewity --&gt;
+    
+    &lt;jaxws:client id="clientWithLoadDistributor" address="http://localhost:8080/services"&gt;
+       &lt;jaxws:features&gt;
+           &lt;clustering:loadDistributor&gt;
+                &lt;clustering:strategy&gt;
+                    &lt;ref bean="SequentialAddresses"/&gt;
+                &lt;/clustering:strategy&gt;
+            &lt;/clustering:loadDistributor&gt;
+       &lt;/jaxws:features&gt;
+    &lt;/jaxws:client&gt;
+&lt;/beans&gt;
+]]></script>
+</div></div>
+
+<h1><a shape="rect" name="FailoverFeature-ConfiguringJAXRSclients"></a>Configuring
JAX-RS clients</h1>
+
+<p>JAX-RS clients are configured exactly as JAX-WS clients are, please see <a shape="rect"
class="external-link" href="https://cwiki.apache.org/confluence/display/CXF20DOC/JAX-RS+Failover">this
page</a> for more info.</p></div>
+           </div>
+           <!-- Content -->
+         </td>
+        </tr>
+      </table>
+   </td>
+   <td id="cell-2-2" colspan="2">&nbsp;</td>
+  </tr>
+  <tr>
+   <td id="cell-3-0">&nbsp;</td>
+   <td id="cell-3-1">&nbsp;</td>
+   <td id="cell-3-2">
+     <div id="footer">
+       <!-- Footer -->
+       <div id="site-footer">
+         <a href="http://cxf.apache.org/privacy-policy.html">Privacy Policy</a>
- 
+         (<a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=33298616">edit
page</a>) 
+	 (<a href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=33298616&amp;showComments=true&amp;showCommentArea=true#addcomment">add
comment</a>)<br>
+	Apache CXF, CXF, Apache, the Apache feather logo are trademarks of The Apache Software Foundation.<br>
+        All other marks mentioned may be trademarks or registered trademarks of their respective
owners.
+       </div>
+       <!-- Footer -->
+     </div>
+   </td>
+   <td id="cell-3-3">&nbsp;</td>
+   <td id="cell-3-4">&nbsp;</td>
+  </tr>
+  <tr>
+    <td id="cell-4-0" colspan="2">&nbsp;</td>
+    <td id="cell-4-1">&nbsp;</td>
+    <td id="cell-4-2" colspan="2">&nbsp;</td>
+  </tr>
+</table>
+
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-4458903-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
+
+</body>
+</html>
+

Modified: websites/production/cxf/content/docs/featureslist.html
==============================================================================
--- websites/production/cxf/content/docs/featureslist.html (original)
+++ websites/production/cxf/content/docs/featureslist.html Thu Aug  1 11:48:03 2013
@@ -122,7 +122,7 @@ Apache CXF -- FeaturesList
 <p>The following elements can appear as child elements of the features element in the
<a shape="rect" class="external-link" href="http://org.apache.cxf/core" rel="nofollow">http://org.apache.cxf/core</a>
and <a shape="rect" class="external-link" href="http://org.apache.cxf/jaxws" rel="nofollow">http://org.apache.cxf/jaxws</a>
namespaces:</p>
 
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh">
Namespace </th><th colspan="1" rowspan="1" class="confluenceTh"> Description</th><th
colspan="1" rowspan="1" class="confluenceTh"> Implementation Class </th><th colspan="1"
rowspan="1" class="confluenceTh"> Module </th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> logging </td><td colspan="1" rowspan="1" class="confluenceTd">
<a shape="rect" href="http://cxf.apache.org/core">http://cxf.apache.org/core</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Enables to log the content
of outbound and inbound messages and faults.</td><td colspan="1" rowspan="1" class="confluenceTd">
org.apache.cxf.feature.LoggingFeature </td><td colspan="1" rowspan="1" class="confluenceTd">
cxf-rt-core </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
failover </td><td colspan="1" rowspan="1" class="confluenceTd"> <a shape=
 "rect" href="http://cxf.apache.org/clustering">http://cxf.apache.org/clustering</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Feature that allows clients
to failover from the initial target endpoint to another, compatible endpoint for the target
service.</td><td colspan="1" rowspan="1" class="confluenceTd"> <span class="error">[org.apache.cxf.clustering.FailoverFeature]</span>
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> bean </td><td colspan="1" rowspan="1"
class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
Turns on use of FastInfoset to encode messages.  The default is to negotiate the use of FastInfoset
with the server as part of the first message, but a "force=true" property can force it, even
on the first message. </td><td colspan="1" rowspan="1" class="confluenceTd"> org.apache.cxf.feature.FastInfosetFeature
</td><td colspan="1" rowspan="1" class="co
 nfluenceTd"> cxf-rt-core </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> bean </td><td colspan="1" rowspan="1" class="confluenceTd">
... </td><td colspan="1" rowspan="1" class="confluenceTd"> Allows the use of gzip
to compress the messages on the wire.  The default is to negotiate the use of FastInfoset
with the server as part of the first message, but a "force=true" property can force it, even
on the first message.  </td><td colspan="1" rowspan="1" class="confluenceTd">
org.apache.cxf.transport.http.gzip.GZIPFeature </td><td colspan="1" rowspan="1" class="confluenceTd">
cxf-rt-core </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
enableColoc </td><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect"
href="http://cxf.apache.org/binding/coloc">http://cxf.apache.org/binding/coloc</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> ... </td><td colspan="1"
rowspan="1" class="confluenceTd"> org.apache.cxf.binding.coloc.feature.ColocFeatu
 re </td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-bindings-coloc
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> bean
</td><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" class="external-link"
href="http://springframework.org" rel="nofollow">http://springframework.org</a> </td><td
colspan="1" rowspan="1" class="confluenceTd"> ... </td><td colspan="1" rowspan="1"
class="confluenceTd"> org.apache.cxf.databinding.stax.StaxDataBindingFeature </td><td
colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> bean </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" class="external-link" href="http://springframework.org"
rel="nofollow">http://springframework.org</a> </td><td colspan="1" rowspan="1"
class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
org.apache.cxf.management.interceptor.ResponseTimeFeature </td><td colspan="1" rows
 pan="1" class="confluenceTd"> cxt-rt-management </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> addressing </td><td colspan="1"
rowspan="1" class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/ws/addressing">http://cxf.apache.org/ws/addressing</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Enables and controls the
use of WS-Addressing. </td><td colspan="1" rowspan="1" class="confluenceTd"> org.apache.cxf.ws.addressing.WSAddressingFeature
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-ws-addr </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> policies </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/policy-config">http://cxf.apache.org/policy-config</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Enables and controls the
use of the WS-Policy Framework. Also serves as an attachment point for Policy and PolicyReference
elements. </td><td colspan="1" rowspan=
 "1" class="confluenceTd"> org.apache.cxf.ws.policy.WSPolicyFeature </td><td colspan="1"
rowspan="1" class="confluenceTd"> cxf-rt-ws-policy </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> reliableMessaging </td><td colspan="1"
rowspan="1" class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/ws/rm/manager">http://cxf.apache.org/ws/rm/manager</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Enables and controls the
use of WS-RM. </td><td colspan="1" rowspan="1" class="confluenceTd"> org.apache.cxf.ws.rm.feature.RMFeature
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-ws-rm </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> Stax transform </td><td colspan="1"
rowspan="1" class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
Lightweight inbound and/or outbound transformations. </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/docs/transformationfe
 ature.html">org.apache.cxf.feature.StaxTransformFeature</a> </td><td colspan="1"
rowspan="1" class="confluenceTd"> cxf-api </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> XSLT transform </td><td colspan="1" rowspan="1"
class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
XSLT based inbound and/or outbound transformations. </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/docs/xslt-feature.html">org.apache.cxf.feature.transform.XSLTFeature</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh">
Namespace </th><th colspan="1" rowspan="1" class="confluenceTh"> Description</th><th
colspan="1" rowspan="1" class="confluenceTh"> Implementation Class </th><th colspan="1"
rowspan="1" class="confluenceTh"> Module </th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> logging </td><td colspan="1" rowspan="1" class="confluenceTd">
<a shape="rect" href="http://cxf.apache.org/core">http://cxf.apache.org/core</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Enables to log the content
of outbound and inbound messages and faults.</td><td colspan="1" rowspan="1" class="confluenceTd">
org.apache.cxf.feature.LoggingFeature </td><td colspan="1" rowspan="1" class="confluenceTd">
cxf-rt-core </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
failover </td><td colspan="1" rowspan="1" class="confluenceTd"> <a shape=
 "rect" href="http://cxf.apache.org/clustering">http://cxf.apache.org/clustering</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Feature that allows clients
to failover from the initial target endpoint to another, compatible endpoint for the target
service.</td><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect"
href="failoverfeature.html#FailoverFeature-FailoverFeatureFailover">org.apache.cxf.clustering.FailoverFeature</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> load distributor </td><td colspan="1"
rowspan="1" class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/clustering">http://cxf.apache.org/clustering</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Failover Feature extension
that allows clients to distribute their calls</td><td colspan="1" rowspan="1" class="confluenceTd">
<a shape="rect" href="failoverfeature.html#FailoverFeature-Failover
 FeatureLoadDistribution">org.apache.cxf.clustering.LoadDistributorFeature</a> </td><td
colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> bean </td><td colspan="1" rowspan="1"
class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
Turns on use of FastInfoset to encode messages.  The default is to negotiate the use of FastInfoset
with the server as part of the first message, but a "force=true" property can force it, even
on the first message. </td><td colspan="1" rowspan="1" class="confluenceTd"> org.apache.cxf.feature.FastInfosetFeature
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> bean </td><td colspan="1" rowspan="1"
class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
Allows the use of gzip to compress the messages on the wire.  The default is to negotiate
the use of FastIn
 foset with the server as part of the first message, but a "force=true" property can force
it, even on the first message.  </td><td colspan="1" rowspan="1" class="confluenceTd">
org.apache.cxf.transport.http.gzip.GZIPFeature </td><td colspan="1" rowspan="1" class="confluenceTd">
cxf-rt-core </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
enableColoc </td><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect"
href="http://cxf.apache.org/binding/coloc">http://cxf.apache.org/binding/coloc</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> ... </td><td colspan="1"
rowspan="1" class="confluenceTd"> org.apache.cxf.binding.coloc.feature.ColocFeature </td><td
colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-bindings-coloc </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> bean </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" class="external-link" href="http://springframework.org"
rel="nofollow">http://springframework.o
 rg</a> </td><td colspan="1" rowspan="1" class="confluenceTd"> ... </td><td
colspan="1" rowspan="1" class="confluenceTd"> org.apache.cxf.databinding.stax.StaxDataBindingFeature
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> bean </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" class="external-link" href="http://springframework.org"
rel="nofollow">http://springframework.org</a> </td><td colspan="1" rowspan="1"
class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
org.apache.cxf.management.interceptor.ResponseTimeFeature </td><td colspan="1" rowspan="1"
class="confluenceTd"> cxt-rt-management </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> addressing </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/ws/addressing">http://cxf.apache.org/ws/addressing</a>
</td><td colspan="1" rowspan="1" class
 ="confluenceTd"> Enables and controls the use of WS-Addressing. </td><td colspan="1"
rowspan="1" class="confluenceTd"> org.apache.cxf.ws.addressing.WSAddressingFeature </td><td
colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-ws-addr </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> policies </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/policy-config">http://cxf.apache.org/policy-config</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Enables and controls the
use of the WS-Policy Framework. Also serves as an attachment point for Policy and PolicyReference
elements. </td><td colspan="1" rowspan="1" class="confluenceTd"> org.apache.cxf.ws.policy.WSPolicyFeature
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-ws-policy </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> reliableMessaging </td><td colspan="1"
rowspan="1" class="confluenceTd"> <a shape="rect" href="http://cxf.apache
 .org/ws/rm/manager">http://cxf.apache.org/ws/rm/manager</a> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Enables and controls the use of WS-RM. </td><td
colspan="1" rowspan="1" class="confluenceTd"> org.apache.cxf.ws.rm.feature.RMFeature </td><td
colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-ws-rm </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> Stax transform </td><td colspan="1"
rowspan="1" class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
Lightweight inbound and/or outbound transformations. </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/docs/transformationfeature.html">org.apache.cxf.feature.StaxTransformFeature</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-api </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> XSLT transform </td><td colspan="1"
rowspan="1" class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
  XSLT based inbound and/or outbound transformations. </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/docs/xslt-feature.html">org.apache.cxf.feature.transform.XSLTFeature</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr></tbody></table>
 </div>
 
 

Modified: websites/production/cxf/content/docs/jax-rs-failover.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-failover.html (original)
+++ websites/production/cxf/content/docs/jax-rs-failover.html Thu Aug  1 11:48:03 2013
@@ -238,13 +238,15 @@ bean.createWebClient();
 
 <h1><a shape="rect" name="JAX-RSFailover-LoadDistribution"></a>Load Distribution
</h1>
 
-<p>CXF Load Distribution feature is a failover feature which can iterate where alternate
addresses not only in case of failures but also after a successful invocation has been done.<br
clear="none">
-It is configured for CXF JAX-RS clients exactly the same way Failover feature is, the only
difference is that a (conduit) selector property is also specified, example:</p>
+<p>CXF Load Distribution feature is a failover feature which can iterate where alternate
addresses not only in case of failures but also after a successful invocation has been done.</p>
+
+<p>Example:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:jaxrs="http://cxf.apache.org/jaxrs"
+       xmlns:clustering="http://cxf.apache.org/clustering"
        xmlns:util="http://www.springframework.org/schema/util"
        xsi:schemaLocation="
 http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd
@@ -264,14 +266,14 @@ http://www.springframework.org/schema/ut
         &lt;/property&gt;
     &lt;/bean&gt;
 
-    &lt;bean id="targetSelector" class="org.apache.cxf.clustering.LoadDistributorTargetSelector"/&gt;
-
-    &lt;jaxrs:client id="loadDistributionSequential" address="http://localhost:8080/initialAddress"&gt;
+    
+    &lt;jaxrs:client id="loadDistributorClient" address="http://localhost:8080/initialAddress"&gt;
        &lt;jaxrs:features&gt;
-           &lt;bean class="org.apache.cxf.jaxrs.features.clustering.FailoverFeature"&gt;
-              &lt;property name="strategy" ref="SequentialAddresses"/&gt;
-              &lt;property name="selector" ref="targetSelector"/&gt;  
-           &lt;/bean&gt;
+           &lt;clustering:loadDistributor&gt;
+                &lt;clustering:strategy&gt;
+                    &lt;ref bean="RandomAddresses"/&gt;
+                &lt;/clustering:strategy&gt;
+            &lt;/clustering:loadDistributor&gt;
        &lt;/jaxrs:features&gt;
     &lt;/jaxrs:client&gt;
 ]]></script>



Mime
View raw message