expose internal maps to help debugging

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636720 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2008-03-13 11:35:20 +00:00
parent 1096564117
commit a785cb75dd
1 changed files with 16 additions and 0 deletions

View File

@ -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 class AdvisoryBroker extends BrokerFilter {
}
}
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;
}
}