From dev-return-18750-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Wed Feb 03 10:42:02 2010 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 64572 invoked from network); 3 Feb 2010 10:42:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2010 10:42:02 -0000 Received: (qmail 78583 invoked by uid 500); 3 Feb 2010 10:42:01 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 78565 invoked by uid 500); 3 Feb 2010 10:42:01 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 78555 invoked by uid 99); 3 Feb 2010 10:42:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 10:42:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 10:41:54 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9E26A234C48D for ; Wed, 3 Feb 2010 02:41:33 -0800 (PST) Message-ID: <779110134.8781265193693646.JavaMail.jira@brutus.apache.org> Date: Wed, 3 Feb 2010 10:41:33 +0000 (UTC) From: "Rob Davies (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-2365) Broker.getDestinations doesn't return temporary destination. In-Reply-To: <419161567.1251277310137.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/AMQ-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rob Davies resolved AMQ-2365. ----------------------------- Resolution: Won't Fix We intentionally don't add temporary destinations - a lot of broker behaviour works by assuming that the method won't return any. Why do you want the temporary destinations ? - we could provide a work around for your specific use case > Broker.getDestinations doesn't return temporary destination. > ------------------------------------------------------------ > > Key: AMQ-2365 > URL: https://issues.apache.org/activemq/browse/AMQ-2365 > Project: ActiveMQ > Issue Type: Improvement > Affects Versions: 5.3.0 > Environment: Any > Reporter: ffrench > Assignee: Rob Davies > Attachments: DestinationsListTest.java, diff.txt > > > Hello, > I noticed that the method Broker.getDestinations doesn't return temporary destination. According to the Javadoc I would say that it's not a correct behavior : > /** > * @return all destinations added to the Broker. > * @throws Exception TODO > */ > ActiveMQDestination[] getDestinations() throws Exception; > As nobody answers me in the users forum (http://www.nabble.com/ActiveMQ-native-API-problem-%3A-Broker.getDestinations-td23408546.html#a25115013) and as my aim is to get all the destinations I decided to create a new JIRA with a jUNIT test and my diffs - 2 lines. > It's a so little correction that I've the impression activemq developers intentionally decide to ignore temporary destination for this method return. If it's the case I would like to know why, so tell me what you think about. > Thanks for all -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.