activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r377397 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java
Date Mon, 13 Feb 2006 15:38:12 GMT
Author: rajdavies
Date: Mon Feb 13 07:38:10 2006
New Revision: 377397

URL: http://svn.apache.org/viewcvs?rev=377397&view=rev
Log:
Expose getDestinations() from the persistenceAdapator

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java?rev=377397&r1=377396&r2=377397&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java
Mon Feb 13 07:38:10 2006
@@ -149,9 +149,17 @@
         }
         
     }
+    
+    /**
+     * 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();



Mime
View raw message