activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r452350 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java
Date Tue, 03 Oct 2006 08:37:17 GMT
Author: jstrachan
Date: Tue Oct  3 01:37:16 2006
New Revision: 452350

URL: http://svn.apache.org/viewvc?view=rev&rev=452350
Log:
Patch for AMQ-950 to only create a JMX context if there is not a platform one

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java?view=diff&rev=452350&r1=452349&r2=452350
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java
Tue Oct  3 01:37:16 2006
@@ -296,7 +296,8 @@
             if (result == null && createMBeanServer) {
                 result = createMBeanServer();
             }
-            else {
+
+            if (result != null && createConnector) {
                 createConnector(result);
             }
         }



Mime
View raw message