Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 34396 invoked from network); 27 Nov 2008 11:02:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2008 11:02:04 -0000 Received: (qmail 30065 invoked by uid 500); 27 Nov 2008 11:02:14 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 30039 invoked by uid 500); 27 Nov 2008 11:02:13 -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 30028 invoked by uid 99); 27 Nov 2008 11:02:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Nov 2008 03:02:13 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Thu, 27 Nov 2008 11:00:44 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1L5eck-0003Og-Aa for users@activemq.apache.org; Thu, 27 Nov 2008 03:01:30 -0800 Message-ID: <20717237.post@talk.nabble.com> Date: Thu, 27 Nov 2008 03:01:30 -0800 (PST) From: gimel To: users@activemq.apache.org Subject: Re: reading activemq.xml from another activemq.xml In-Reply-To: <492E5ED5.6030307@ttmsolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: oren.gimel@gmail.com References: <20715212.post@talk.nabble.com> <492E5ED5.6030307@ttmsolutions.com> X-Virus-Checked: Checked by ClamAV on apache.org thanks, but i still can't manage to do so : i tried to add something like - xbean:/${ACTIVEMQ_HOME}/conf/activemq2.xml to the command, and got : java.net.URISyntaxException: Illegal character in path at index 8: xbean:/${ACTIVEMQ_HOME}/conf/activemq2.xml beside, i need to add it to the service, so if it's possible to say where to add it (i assume it's something like 'wrapper.app.parameter.3'), would be great as well. thanks Dejan Bosanac-3 wrote: > > Hi, > > just run your ActiveMQ with an additional parameter representing URL of > the config file, like > > ${ACTIVEMQ_HOME}/bin/activemq xbean:/path/to/your/activemq.xml > > Cheers > > -- > Dejan Bosanac > > > http://www.ttmsolutions.com - get a free ActiveMQ user guide > > ActiveMQ in Action - http://www.manning.com/snyder/ > Scripting in Java - http://www.scriptinginjava.net > > > > gimel wrote: >> Hi, >> >> I'd like to be able to have my activemq.xml outside of the conf folder. >> i think that i didn't see a way to ask it to be called from somewhere >> else. >> if there is a way to include/import my external xml from the internal, >> will >> be great as well... >> >> regards >> > > > -- View this message in context: http://www.nabble.com/reading-activemq.xml-from-another-activemq.xml-tp20715212p20717237.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.