Author: uswick
Date: Thu Dec 8 11:23:50 2011
New Revision: 1211838
URL: http://svn.apache.org/viewvc?rev=1211838&view=rev
Log:
committing patch for https://issues.apache.org/jira/browse/SYNAPSE-822
Modified:
synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml
Modified: synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml
URL:
http://svn.apache.org/viewvc/synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml?rev=1211838&r1=1211837&r2=1211838&view=diff
==============================================================================
--- synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml (original)
+++ synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml Thu Dec 8 11:23:50
2011
@@ -1809,19 +1809,21 @@ requests and etc... in a cycle</p>
<p>
<strong>
Objective: Demonstrate Service-aware dynamic load balancing between a
couple of nodes which belong to two different Services.
+</strong>
+</p>
+<p>
Here, the word Service is used in the context of Cloud Service. A Cloud
Service consists of a number of nodes.
In this context, a Cloud Service is also associated with a clustering
domain.
This can be used in place of the DynamicLoadbalanceEndpoint as well.
-</strong>
</p>
<p>
<strong>Prerequisites:</strong>
<br/>
Put the following entries into the /etc/hosts file on your machine.
-<pre>
-127.0.0.1 test1.synapse.apache.org
-127.0.0.1 test2.synapse.apache.org
+<pre xml:space="preserve">
+127.0.0.1 test1.synapse.apache.org
+127.0.0.1 test2.synapse.apache.org
</pre>
<br/>Enable clustering in the <Synapse installation directory>/
repository/conf/axis2.xml file. This can be done by setting the
"enable" attribute of the "clustering" element.