Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 74563 invoked from network); 22 Jan 2008 07:00:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jan 2008 07:00:43 -0000 Received: (qmail 64504 invoked by uid 500); 22 Jan 2008 07:00:33 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 64480 invoked by uid 500); 22 Jan 2008 07:00:33 -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 64471 invoked by uid 99); 22 Jan 2008 07:00:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jan 2008 23:00:33 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rajdavies@gmail.com designates 72.14.220.155 as permitted sender) Received: from [72.14.220.155] (HELO fg-out-1718.google.com) (72.14.220.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2008 07:00:07 +0000 Received: by fg-out-1718.google.com with SMTP id l27so1932965fgb.44 for ; Mon, 21 Jan 2008 23:00:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=d0MYI6+TWF42H8JIkDCZk8n89e/W/8uc27XJ4SvG84Q=; b=QLmsNl2M2eISyBs+AEH6DGdaqD41Rp+v+V6OFs4WrJQzE7VYR/I4gVz5CtC66J/xfpSbyMIlvuh24xDH8j7NhatLbJWqqxMmvA4ljfeOKYjSKVPCIt8+k9QUKtNomOwtgj6ZkTwam6vamfIVFP0q8x/15TxlWgwjzhy9HqQGSf4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=wRO1g05fYBbNQrSr568Nszmk29basxvOm936/S/EZZBH9gcmavDM7Qk/QlJHFdRPb0hQVGAW6gS4pIrYiIk4uH++thR3zUkVyGZrEJ2ZSsSlsdd7nS1yUgcSUb49Om4I+YQfIbkxqkJ/A5Wu7z+ulQlBYZowfO02jWJMH5cl2Kg= Received: by 10.82.187.2 with SMTP id k2mr14089475buf.19.1200985211285; Mon, 21 Jan 2008 23:00:11 -0800 (PST) Received: from ?192.168.1.74? ( [81.132.69.105]) by mx.google.com with ESMTPS id d25sm14648075nfh.33.2008.01.21.23.00.09 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Jan 2008 23:00:10 -0800 (PST) Message-Id: From: Rob Davies To: dev@activemq.apache.org In-Reply-To: <1200968544.20763.79.camel@gmazza-desktop> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: svn commit: r613230 - in /activemq/trunk/activemq-core/src/main/java/org/apache/activemq: advisory/ broker/region/ broker/region/policy/ Date: Tue, 22 Jan 2008 07:00:07 +0000 References: <20080118191618.8D6E41A9832@eris.apache.org> <1200968544.20763.79.camel@gmazza-desktop> X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org On Jan 22, 2008, at 2:22 AM, Glen Mazza wrote: > Am Freitag, den 18.01.2008, 19:16 +0000 schrieb rajdavies@apache.org: >> Author: rajdavies >> Date: Fri Jan 18 11:16:15 2008 >> New Revision: 613230 >> > >> Modified: >> activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ >> broker/region/BaseDestination.java >> URL: >> http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/BaseDestination.java?rev=613230&r1=613229&r2=613230&view=diff >> = >> = >> = >> = >> = >> = >> = >> = >> = >> ===================================================================== >> + public ActiveMQDestination getActiveMQDestination() { >> + return destination; >> + } >> + >> + public final String getDestination() { >> + return destination.getPhysicalName(); >> + } >> + > > The method above is the same as getName() below (and also somewhat > confusing, as it gives the impression it returns a Destination > object). > It should probably be removed. > > >> + public final String getName() { >> + return getActiveMQDestination().getPhysicalName(); >> + } >> + > > Regards, > Glen > > Yes - agreed - it is confusing cheers, Rob Rob Davies 'Go further faster with Apache Camel!' http://rajdavies.blogspot.com/