activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r833441 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java
Date Fri, 06 Nov 2009 15:29:40 GMT
Author: dejanb
Date: Fri Nov  6 15:29:40 2009
New Revision: 833441

URL: http://svn.apache.org/viewvc?rev=833441&view=rev
Log:
additional fix for https://issues.apache.org/activemq/browse/AMQ-2306 - jmx for slave brokers

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

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java?rev=833441&r1=833440&r2=833441&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java
Fri Nov  6 15:29:40 2009
@@ -217,7 +217,7 @@
     }
 
     public boolean isConnectorStarted() {
-		return connectorServer.isActive();
+		return connectorServer != null && connectorServer.isActive();
 	}
 
 	/**



Mime
View raw message