Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 9776 invoked from network); 16 May 2007 02:55:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2007 02:55:47 -0000 Received: (qmail 24175 invoked by uid 500); 16 May 2007 02:55:53 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 24157 invoked by uid 500); 16 May 2007 02:55:53 -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 24147 invoked by uid 99); 16 May 2007 02:55:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2007 19:55:53 -0700 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 (herse.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, 15 May 2007 19:55:46 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ho9fh-00059m-KM for dev@activemq.apache.org; Tue, 15 May 2007 19:55:25 -0700 Message-ID: <10634843.post@talk.nabble.com> Date: Tue, 15 May 2007 19:55:25 -0700 (PDT) From: Jiang To: dev@activemq.apache.org Subject: How to create BrokerService MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: zju_jjc@163.com X-Virus-Checked: Checked by ClamAV on apache.org I find BrokerFactory can create Broker. The method is createBroker(URI). If I start one ActiveMQ Server on localhost and in Activemq.xml open Then BrokerService service = BrokerFactory.createBroker(new URI("xxxxx")); here URI("xxxxx") what should I specific xxxxx to connect to the ActiveMQ server above?(What I mean is whether I can use createBroker to connect to the Activemq server . Then I can get information about the server and admin the server ) -- View this message in context: http://www.nabble.com/How-to-create-BrokerService-tf3762284s2354.html#a10634843 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.