From activemq-users-return-727-apmail-geronimo-activemq-users-archive=geronimo.apache.org@geronimo.apache.org Fri Apr 14 23:44:36 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 15739 invoked from network); 14 Apr 2006 23:44:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Apr 2006 23:44:35 -0000 Received: (qmail 88215 invoked by uid 500); 14 Apr 2006 23:44:35 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 88187 invoked by uid 500); 14 Apr 2006 23:44:34 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 88178 invoked by uid 99); 14 Apr 2006 23:44:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Apr 2006 16:44:34 -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 (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Apr 2006 16:44:33 -0700 Received: from localhost ([127.0.0.1] helo=talk.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1FUXxV-0002bC-AI for activemq-users@geronimo.apache.org; Fri, 14 Apr 2006 16:44:13 -0700 Message-ID: <3924923.post@talk.nabble.com> Date: Fri, 14 Apr 2006 16:44:13 -0700 (PDT) From: Adrian Co To: activemq-users@geronimo.apache.org Subject: Re: Embedded Networked Brokers In-Reply-To: <3922165.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: aco@exist.com X-Nabble-From: Adrian Co References: <3912634.post@talk.nabble.com> <3920855.post@talk.nabble.com> <3921495.post@talk.nabble.com> <3922165.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N If you want to configure a broker using spring and pojos, one way is to use this: BrokerService brokerService = (new XBeanBrokerFactory()).createBroker(new URI("xbean:activemq.xml")); brokerService.addNetworkConnector(...); brokerService.start(); where activemq.xml is in the classpath. To specify an absolute file path use: xbean:file:c:/activemq.xml Regards, Adrian Co -- View this message in context: http://www.nabble.com/Embedded-Networked-Brokers-t1448274.html#a3924923 Sent from the ActiveMQ - User forum at Nabble.com.