activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1363700 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
Date Fri, 20 Jul 2012 09:58:49 GMT
Author: dejanb
Date: Fri Jul 20 09:58:49 2012
New Revision: 1363700

URL: http://svn.apache.org/viewvc?rev=1363700&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3918 - revert accidental change - start connector
only after we create a mbean for it

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java?rev=1363700&r1=1363699&r2=1363700&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
Fri Jul 20 09:58:49 2012
@@ -2386,11 +2386,11 @@ public class BrokerService implements Se
         if (policy != null) {
             connector.setMessageAuthorizationPolicy(policy);
         }
-        connector.getStatistics().setEnabled(enableStatistics);
-        connector.start();
         if (isUseJmx()) {
             connector = registerConnectorMBean(connector);
         }
+        connector.getStatistics().setEnabled(enableStatistics);
+        connector.start();
         return connector;
     }
 



Mime
View raw message