Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 56978 invoked from network); 14 Jan 2008 13:18:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jan 2008 13:18:06 -0000 Received: (qmail 13201 invoked by uid 500); 14 Jan 2008 13:17:56 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 13174 invoked by uid 500); 14 Jan 2008 13:17:55 -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 13165 invoked by uid 99); 14 Jan 2008 13:17:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2008 05:17:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2008 13:17:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5592A714272 for ; Mon, 14 Jan 2008 05:17:45 -0800 (PST) Message-ID: <8536016.1200316665346.JavaMail.jira@brutus> Date: Mon, 14 Jan 2008 05:17:45 -0800 (PST) From: "Joe Fernandez (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-1465) Regression with networkConnector 'name' attribute In-Reply-To: <32879174.1192480104184.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41025#action_41025 ] Joe Fernandez commented on AMQ-1465: ------------------------------------ wrt the original implementation; if the user had multiple network connectors w/out a 'name' attribute, the broker would throw an exception. This was because you'd end up having multiple network connectors with the same name (i.e., "localhost"). My patch addressed this by assigning a unique name to each network connection having a 'null' name (i.e., no name specified). - Joe > Regression with networkConnector 'name' attribute > ------------------------------------------------- > > Key: AMQ-1465 > URL: https://issues.apache.org/activemq/browse/AMQ-1465 > Project: ActiveMQ > Issue Type: Bug > Components: Connector > Environment: ActiveMQ 5.0 > Reporter: Joe Fernandez > Assignee: Rob Davies > Priority: Minor > Fix For: 5.1.0 > > Attachments: patch.r61674.diff, patchfile.txt > > > On 4.1.1, the value assigned to the networkConnector's 'name' attribute shows up nicely on the jconsole. However, there appears to be a regression with 5.0, because the name no longer shows up on the jconsole. With 5.0, you instead see the String representation of an instance of the SimpleDiscoveryAgent class -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.