Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 41087 invoked from network); 6 Oct 2009 09:59:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Oct 2009 09:59:19 -0000 Received: (qmail 4494 invoked by uid 500); 6 Oct 2009 09:59:19 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 4458 invoked by uid 500); 6 Oct 2009 09:59:18 -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 4448 invoked by uid 99); 6 Oct 2009 09:59:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 09:59:18 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 09:59:08 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Mv6oi-0005iv-97 for users@activemq.apache.org; Tue, 06 Oct 2009 02:58:48 -0700 Message-ID: <25765830.post@talk.nabble.com> Date: Tue, 6 Oct 2009 02:58:48 -0700 (PDT) From: davidgeary To: users@activemq.apache.org Subject: Re: Enable discovery in embedded broker URL In-Reply-To: <3a73c17c0910060246u69f5e7e6n5f6320f119c73d30@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: david.geary@aepona.com References: <25752382.post@talk.nabble.com> <3a73c17c0910060246u69f5e7e6n5f6320f119c73d30@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the reply, the application context snippet in my original post was a bit misleading as i was just using that to test out brokerURLs to try to get it working, actually I'm trying to set it up from JNDI within another product which allows me to set the initial context properties, currently I have java.naming.provider.url = vm://localhost?brokerConfig=xbean:file:/activemqconfig/activemq-broker.xml And within the config file I have the broker set up something like you describe, however for simplicity I was hoping to avoid the need for this file and set it up with just a broker URL. ie java.naming.provider.url = vm:(broker:(tcp://localhost:61618,network:multicast://default)?persistent=false&brokerName=ec-amq) but including the discovery uri also If its not possible I can just stick with what I have. -- View this message in context: http://www.nabble.com/Enable-discovery-in-embedded-broker-URL-tp25752382p25765830.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.