[jboss-cvs] JBoss Messaging SVN: r5674 - trunk/src/main/org/jboss/messaging/core/server/impl.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Jan 21 10:18:29 EST 2009
Author: jmesnil
Date: 2009-01-21 10:18:29 -0500 (Wed, 21 Jan 2009)
New Revision: 5674
Modified:
trunk/src/main/org/jboss/messaging/core/server/impl/MessagingServerImpl.java
Log:
management registration
registered the messaging server in the management service sooner so that the queue settings repository is set for subsequents registrations of queues
Modified: trunk/src/main/org/jboss/messaging/core/server/impl/MessagingServerImpl.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/server/impl/MessagingServerImpl.java 2009-01-21 13:29:08 UTC (rev 5673)
+++ trunk/src/main/org/jboss/messaging/core/server/impl/MessagingServerImpl.java 2009-01-21 15:18:29 UTC (rev 5674)
@@ -252,6 +252,16 @@
pagingManager.start();
+ serverManagement = managementService.registerServer(postOffice,
+ storageManager,
+ configuration,
+ queueSettingsRepository,
+ securityRepository,
+ resourceManager,
+ remotingService,
+ this,
+ queueFactory);
+
List<QueueBindingInfo> queueBindingInfos = new ArrayList<QueueBindingInfo>();
List<SimpleString> destinations = new ArrayList<SimpleString>();
@@ -367,19 +377,7 @@
clusterManager.start();
}
-
- serverManagement = managementService.registerServer(postOffice,
- storageManager,
- configuration,
- queueSettingsRepository,
- securityRepository,
- resourceManager,
- remotingService,
- this,
- queueFactory);
-
-
// We need to startDepage when we restart the server to eventually resume destinations that were in depage mode during last stop
// This is the last thing done at the start, after everything else is up and running
pagingManager.startGlobalDepage();
More information about the jboss-cvs-commits
mailing list