Return-Path: Delivered-To: apmail-geronimo-activemq-commits-archive@www.apache.org Received: (qmail 47220 invoked from network); 13 Feb 2006 15:38:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Feb 2006 15:38:37 -0000 Received: (qmail 88337 invoked by uid 500); 13 Feb 2006 15:38:36 -0000 Delivered-To: apmail-geronimo-activemq-commits-archive@geronimo.apache.org Received: (qmail 88303 invoked by uid 500); 13 Feb 2006 15:38:36 -0000 Mailing-List: contact activemq-commits-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-commits@geronimo.apache.org Received: (qmail 88264 invoked by uid 99); 13 Feb 2006 15:38:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2006 07:38:35 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Feb 2006 07:38:35 -0800 Received: (qmail 46788 invoked by uid 65534); 13 Feb 2006 15:38:13 -0000 Message-ID: <20060213153813.46787.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: activemq-commits@geronimo.apache.org From: rajdavies@apache.org X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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();