activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r585413 - in /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx: BrokerView.java BrokerViewMBean.java
Date Wed, 17 Oct 2007 08:47:40 GMT
Author: jlim
Date: Wed Oct 17 01:47:38 2007
New Revision: 585413

URL: http://svn.apache.org/viewvc?rev=585413&view=rev
Log:
updates for https://issues.apache.org/activemq/browse/AMQ-1311

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

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java?rev=585413&r1=585412&r2=585413&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java
Wed Oct 17 01:47:38 2007
@@ -53,6 +53,10 @@
     public String getBrokerId() {
         return broker.getBrokerId().toString();
     }
+    
+    public String getBrokerName() {
+        return broker.getBrokerName();
+    }    
 
     public void gc() throws Exception {
         brokerService.getBroker().gc();

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/BrokerViewMBean.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/BrokerViewMBean.java?rev=585413&r1=585412&r2=585413&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/BrokerViewMBean.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/BrokerViewMBean.java
Wed Oct 17 01:47:38 2007
@@ -26,6 +26,11 @@
      * @return The unique id of the broker.
      */
     String getBrokerId();
+    
+    /**
+     * @return The name of the broker.
+     */
+    String getBrokerName();    
 
     /**
      * The Broker will fush it's caches so that the garbage collector can



Mime
View raw message