[jboss-cvs] JBoss Messaging SVN: r3929 - in branches/Branch_Stable: tests/src/org/jboss/test/messaging/core and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Mar 25 11:46:12 EDT 2008


Author: timfox
Date: 2008-03-25 11:46:12 -0400 (Tue, 25 Mar 2008)
New Revision: 3929

Modified:
   branches/Branch_Stable/docs/userguide/en/modules/c_configuration.xml
   branches/Branch_Stable/docs/userguide/en/modules/configuration.xml
   branches/Branch_Stable/tests/src/org/jboss/test/messaging/core/PostOfficeTestBase.java
Log:
http://jira.jboss.org/jira/browse/JBMESSAGING-1230


Modified: branches/Branch_Stable/docs/userguide/en/modules/c_configuration.xml
===================================================================
--- branches/Branch_Stable/docs/userguide/en/modules/c_configuration.xml	2008-03-25 15:43:16 UTC (rev 3928)
+++ branches/Branch_Stable/docs/userguide/en/modules/c_configuration.xml	2008-03-25 15:46:12 UTC (rev 3929)
@@ -74,10 +74,11 @@
 		   	HTTP get request, an ejb invocation the same applies. The trick is to code
 		   	your application so your operations are *idempotent*  i.e. they can be
 		   	repeated without getting the system into an inconsistent state. With a
-		   	message system you can do this on the application level, by checking for
+		   	messaging system you can do this on the application level, by checking for
 		   	duplicate messages, and discarding them if they arrive. Duplicate checking
 		   	is a very powerful technique that can remove the need for XA transactions
 		   	in many cases.</para>
+		<para>In the clustered case. JBM is by default configured to detect duplicate automatically messages by default</para>
 	      </section>
       
       

Modified: branches/Branch_Stable/docs/userguide/en/modules/configuration.xml
===================================================================
--- branches/Branch_Stable/docs/userguide/en/modules/configuration.xml	2008-03-25 15:43:16 UTC (rev 3928)
+++ branches/Branch_Stable/docs/userguide/en/modules/configuration.xml	2008-03-25 15:46:12 UTC (rev 3929)
@@ -732,6 +732,11 @@
                   
       &lt;attribute name="CastTimeout"&gt;50000&lt;/attribute&gt;
       
+      &lt;!-- Set this to true if you want failover of connections to occur when a node is shut down --&gt;
+      
+      &lt;attribute name="FailoverOnNodeLeave"&gt;false&lt;/attribute&gt;
+      
+      
       &lt;!-- JGroups stack configuration for the data channel - used for sending data across the cluster --&gt; 
                    
       &lt;!-- By default we use the TCP stack for data --&gt;                  
@@ -935,7 +940,17 @@
         <para>The default value is <literal>5000</literal>
         milliseconds.</para>
       </section>
+      
+      <section id="conf.postoffice.attributes.failoveronnodeleave">
+	<title>FailoverOnNodeLeave</title>
+	
+	<para>If this attribute is <literal>true</literal> then if a server node is shut down cleanly, then this will cause any
+	connections on the shutting down node to failover onto another node.</para>
 
+        <para>The default value for this is attribute is <literal>false</literal></para>
+	
+      </section>      
+
       <section id="conf.postoffice.attributes.maxconcurrentreplications">
         <title>MaxConcurrentReplications</title>
 

Modified: branches/Branch_Stable/tests/src/org/jboss/test/messaging/core/PostOfficeTestBase.java
===================================================================
--- branches/Branch_Stable/tests/src/org/jboss/test/messaging/core/PostOfficeTestBase.java	2008-03-25 15:43:16 UTC (rev 3928)
+++ branches/Branch_Stable/tests/src/org/jboss/test/messaging/core/PostOfficeTestBase.java	2008-03-25 15:46:12 UTC (rev 3929)
@@ -96,7 +96,7 @@
                                  sc.getPostOfficeSQLProperties(), true, nodeID,
                                  "Clustered", ms, pm, tr, ff, cf, idm, cn,
                                  groupName, jChannelFactory,
-                                 stateTimeout, castTimeout, true, 100);
+                                 stateTimeout, castTimeout, true, 100, false);
 
       postOffice.start();
 




More information about the jboss-cvs-commits mailing list