[jboss-cvs] JBoss Messaging SVN: r4299 - trunk/src/main/org/jboss/messaging/core/postoffice/impl.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon May 26 07:47:37 EDT 2008


Author: jmesnil
Date: 2008-05-26 07:47:37 -0400 (Mon, 26 May 2008)
New Revision: 4299

Modified:
   trunk/src/main/org/jboss/messaging/core/postoffice/impl/PostOfficeImpl.java
Log:
in loadBindings(), add the destinations loaded from the storage manager

Modified: trunk/src/main/org/jboss/messaging/core/postoffice/impl/PostOfficeImpl.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/postoffice/impl/PostOfficeImpl.java	2008-05-26 11:46:52 UTC (rev 4298)
+++ trunk/src/main/org/jboss/messaging/core/postoffice/impl/PostOfficeImpl.java	2008-05-26 11:47:37 UTC (rev 4299)
@@ -341,7 +341,7 @@
       storageManager.loadBindings(queueFactory, bindings, dests);
                   
       //Destinations must be added first to ensure flow controllers exist before queues are created
-      for (SimpleString destination: destinations)
+      for (SimpleString destination: dests)
       {
          addDestination(destination, false);
       }




More information about the jboss-cvs-commits mailing list