activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r636720 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
Date Thu, 13 Mar 2008 11:35:24 GMT
Author: rajdavies
Date: Thu Mar 13 04:35:20 2008
New Revision: 636720

URL: http://svn.apache.org/viewvc?rev=636720&view=rev
Log:
expose internal maps to help debugging

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java?rev=636720&r1=636719&r2=636720&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
Thu Mar 13 04:35:20 2008
@@ -17,6 +17,7 @@
 package org.apache.activemq.advisory;
 
 import java.util.Iterator;
+import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.ConcurrentHashMap;
 
@@ -318,4 +319,19 @@
         }
     }
 
+    public Map<ConnectionId, ConnectionInfo> getAdvisoryConnections() {
+        return connections;
+    }
+
+    public Map<ConsumerId, ConsumerInfo> getAdvisoryConsumers() {
+        return consumers;
+    }
+
+    public Map<ProducerId, ProducerInfo> getAdvisoryProducers() {
+        return producers;
+    }
+
+    public Map<ActiveMQDestination, DestinationInfo> getAdvisoryDestinations() {
+        return destinations;
+    }
 }



Mime
View raw message