[jboss-cvs] JBoss Messaging SVN: r5532 - in trunk/src: main/org/jboss/messaging/core/config/impl and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Dec 15 08:24:48 EST 2008


Author: jmesnil
Date: 2008-12-15 08:24:47 -0500 (Mon, 15 Dec 2008)
New Revision: 5532

Modified:
   trunk/src/config/jbm-configuration.xml
   trunk/src/main/org/jboss/messaging/core/config/impl/FileConfiguration.java
Log:
renamed <backup-connector> element to <backup-connector-ref>

this makes it clearer that the element does not define a connector but only references a connector already defined in a <connector> element.

Modified: trunk/src/config/jbm-configuration.xml
===================================================================
--- trunk/src/config/jbm-configuration.xml	2008-12-15 13:06:08 UTC (rev 5531)
+++ trunk/src/config/jbm-configuration.xml	2008-12-15 13:24:47 UTC (rev 5532)
@@ -83,7 +83,7 @@
       <queue-activation-timeout>30000</queue-activation-timeout>
 
       <!--
-      <backup-connector connector-name="backup-connector"/>
+      <backup-connector-ref connector-name="backup-connector"/>
       -->
       
       <!-- Connectors -->

Modified: trunk/src/main/org/jboss/messaging/core/config/impl/FileConfiguration.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/config/impl/FileConfiguration.java	2008-12-15 13:06:08 UTC (rev 5531)
+++ trunk/src/main/org/jboss/messaging/core/config/impl/FileConfiguration.java	2008-12-15 13:24:47 UTC (rev 5532)
@@ -141,7 +141,7 @@
 
       interceptorClassNames = interceptorList;
 
-      NodeList backups = e.getElementsByTagName("backup-connector");
+      NodeList backups = e.getElementsByTagName("backup-connector-ref");
 
       // There should be only one - this will be enforced by the DTD
 




More information about the jboss-cvs-commits mailing list