Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 55212 invoked from network); 18 Mar 2010 14:22:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Mar 2010 14:22:15 -0000 Received: (qmail 48982 invoked by uid 500); 18 Mar 2010 14:22:14 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 48958 invoked by uid 500); 18 Mar 2010 14:22:14 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 48950 invoked by uid 99); 18 Mar 2010 14:22:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Mar 2010 14:22:14 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gary.tully@gmail.com designates 209.85.218.219 as permitted sender) Received: from [209.85.218.219] (HELO mail-bw0-f219.google.com) (209.85.218.219) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Mar 2010 14:22:09 +0000 Received: by bwz19 with SMTP id 19so2118844bwz.6 for ; Thu, 18 Mar 2010 07:21:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=YoZdfcIk1a9eesotxHLMCJfPDPeCTkfGCG+fSFYPRZA=; b=YcneXQOdN6uN8wSu7QcbGMP8teYcJBDbvul0TmGlTOLQZiBuQbPCzsTNNlBmuBmE6D 5laNoD8GzpBB1B7WA9l00ov5Gwct7Iop/vWdtfKJXfTsM9sJ7MBpIS6OJoN8O+ElgYng VHbc1UgKynKPnyoKZcD+awCYuBPcIDcWOVpDQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jOKYSNC+2cr+hoJ2yK2AohnMK9v/O31TA3FBLw3rl9xdX214FgX3UbmXYue2RShVd0 JRjE8E1sha1b3lS1F4bS5ers0UUrbf1sSp15ovLCJwGU8kCRAX2UROmcOL1KGCSzAScD JEuwEESYU2sJeNhBvAkZQG1FqS5hWeRWD+BJM= MIME-Version: 1.0 Received: by 10.204.4.88 with SMTP id 24mr2726022bkq.129.1268922108193; Thu, 18 Mar 2010 07:21:48 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Mar 2010 14:21:48 +0000 Message-ID: <3a73c17c1003180721m4a4f5b96q43e8b7bd2490014@mail.gmail.com> Subject: Re: ActiveMQ and addConnector, addNetworkConnector From: Gary Tully To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=0015174c118e81abb7048213f382 --0015174c118e81abb7048213f382 Content-Type: text/plain; charset=ISO-8859-1 can you raise an issue for this, with the url you pass to addNetworkConnector. I see some of the networkConnectors override the getName method to make it unique but not all do. On 16 March 2010 15:41, Ryan Moquin wrote: > I was experimenting with adding network connectors to ActiveMQ through JMX. > There is either a problem with the addConnector and addNetworkConnector > methods or there is something I'm missing. If you connect via JMX to > ActiveMQ and call the addNetworkConnector JMX method, it works, the first > time. The return value from the method is "localhost". The problem is > that > when you try to add a second one, the names conflict because that one is > also called "localhost" and an exception is thrown. It doesn't appear that > there is any addNetworkConnector or addConnector methods that also take a > name for the connector, are there? Is there any other way to do this? > > I'm using Fuse ESB 4.2 and can no longer access the broker directly like I > could in Fuse ESB 3.x. > > Ryan > -- http://blog.garytully.com Open Source Integration http://fusesource.com --0015174c118e81abb7048213f382--