[jboss-cvs] JBossAS SVN: r110483 - in branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/resources/examples: symmetric-cluster-with-backups-colocated/hornetq and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jan 28 04:13:03 EST 2011


Author: ataylor
Date: 2011-01-28 04:13:03 -0500 (Fri, 28 Jan 2011)
New Revision: 110483

Modified:
   branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/resources/examples/cluster-with-dedicated-backup/hornetq-backup1/hornetq-configuration.xml
   branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/resources/examples/symmetric-cluster-with-backups-colocated/hornetq/hornetq-configuration.xml
Log:
added max hops to cluster connection to show how to disable server side load balancing

Modified: branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/resources/examples/cluster-with-dedicated-backup/hornetq-backup1/hornetq-configuration.xml
===================================================================
--- branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/resources/examples/cluster-with-dedicated-backup/hornetq-backup1/hornetq-configuration.xml	2011-01-28 04:02:02 UTC (rev 110482)
+++ branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/resources/examples/cluster-with-dedicated-backup/hornetq-backup1/hornetq-configuration.xml	2011-01-28 09:13:03 UTC (rev 110483)
@@ -80,6 +80,9 @@
             <address>jms</address>
             <connector-ref>netty-connector</connector-ref>
             <discovery-group-ref discovery-group-name="dg-group1"/>
+           <!--max hops defines how messages are redistributed, the default is 1 meaning only distribute to directly
+           connected nodes, to disable set to 0-->
+           <!--<max-hops>0</max-hops>-->
         </cluster-connection>
     </cluster-connections>
 

Modified: branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/resources/examples/symmetric-cluster-with-backups-colocated/hornetq/hornetq-configuration.xml
===================================================================
--- branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/resources/examples/symmetric-cluster-with-backups-colocated/hornetq/hornetq-configuration.xml	2011-01-28 04:02:02 UTC (rev 110482)
+++ branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/resources/examples/symmetric-cluster-with-backups-colocated/hornetq/hornetq-configuration.xml	2011-01-28 09:13:03 UTC (rev 110483)
@@ -86,6 +86,9 @@
          <address>jms</address>	 
          <connector-ref>netty</connector-ref>
 	      <discovery-group-ref discovery-group-name="dg-group1"/>
+        <!--max hops defines how messages are redistributed, the default is 1 meaning only distribute to directly
+        connected nodes, to disable set to 0-->
+        <!--<max-hops>0</max-hops>-->
       </cluster-connection>
    </cluster-connections>
    



More information about the jboss-cvs-commits mailing list