mirror of https://github.com/apache/activemq.git
Expose getDestinations() from the persistenceAdapator
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377397 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f921ef7f61
commit
f787e20139
|
@ -149,9 +149,17 @@ abstract public class AbstractRegion implements Region {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all the Destinations that are in storage
|
||||
* @return Set of all stored destinations
|
||||
*/
|
||||
public Set getDurableDestinations(){
|
||||
return persistenceAdapter.getDestinations();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
* @return all Destinations that don't have active consumers
|
||||
*/
|
||||
protected Set getInactiveDestinations() {
|
||||
Set inactiveDests = persistenceAdapter.getDestinations();
|
||||
|
|
Loading…
Reference in New Issue