mirror of
https://github.com/apache/activemq.git
synced 2025-02-28 05:09:07 +00:00
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:
parent
1096564117
commit
a785cb75dd
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user