Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 50098 invoked from network); 17 Mar 2009 16:17:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2009 16:17:53 -0000 Received: (qmail 9106 invoked by uid 500); 17 Mar 2009 16:17:51 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 9078 invoked by uid 500); 17 Mar 2009 16:17:51 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 9067 invoked by uid 99); 17 Mar 2009 16:17:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 09:17:51 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.57] (HELO smtp102.prem.mail.sp1.yahoo.com) (98.136.44.57) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 17 Mar 2009 16:17:43 +0000 Received: (qmail 53558 invoked from network); 17 Mar 2009 16:17:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Mime-Version:Subject:Date:References:X-Mailer; b=zmhndsH3DyNQBuPB5FYHLwpZZ5GmJ8E4EnBuaLFTKRFOwuN1tw3UaqtG4SqGkQmjQtAW7Apt4pGbZVBGL9pj3zPGBkeP4SxJb+uAIEto2bBtLH71+WgCHDJkustB7sbCo8v5GSVecU8SUFd1FW6dqWv03dnDUcrnm5afsh0Ov0I= ; Received: from unknown (HELO ?10.11.55.10?) (david_jencks@76.76.148.215 with plain) by smtp102.prem.mail.sp1.yahoo.com with SMTP; 17 Mar 2009 16:17:21 -0000 X-YMail-OSG: EwtR_AEVM1madWup0S2sGjtKtIQeuNsnBVmvES5Bkm6fxTNAhXGDWE4.s.ar285y9RrVycZp_t2cawwaSlk6FTJB98J3yj7esTwjiFGrLyGdQZXWQ5AI4k.F..muId0Du_UnizGTH0P2YzMSMGHe.EUucKfLaX2Lo.bgjByeiG_MMA15XlWY0o5Z.2m6s7e6jF3WBOL_M7GjggvgeSy3TIDnccWkjUWa1jgmLTKE93A7Vrvl2O.oDzcGNke2 X-Yahoo-Newman-Property: ymail-3 Message-Id: <9E05837B-9FF5-458F-8757-14DD97FB8C33@yahoo.com> From: David Jencks To: user@geronimo.apache.org In-Reply-To: <424734.7874.qm@web56803.mail.re3.yahoo.com> Content-Type: multipart/alternative; boundary=Apple-Mail-89--846080532 Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Configuring ActiveMQ with external file Date: Tue, 17 Mar 2009 09:17:20 -0700 References: <424734.7874.qm@web56803.mail.re3.yahoo.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-89--846080532 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Mar 17, 2009, at 3:29 AM, Raj Saini wrote: > Hi, > > I am trying hard to configure the embedded ActiveMQ to use an > external configuration file in 2.2 SNAPSHOT (laster trunk revision). > I read somewhere in the mailing list that it is possible to > configure 2.2 SNAPSHOT with external file but not finding any > definite documentation/guide to do the same. I looked around in the > source tree and found ActiveMQ plan server/plugins/activemq/ > activemq-broker/src/main/plan folder. However, after building the > geronimo from source, I do not see the configuration in the Gbean of > this plan used by the Geronimo. > > I shall be thankful if someone can help me or point me to the > documentation or any other resource. In 2.2 we are using the "native" xbean-spring xml file to configure the activemq broker. By default it's installed into var/activemq/conf/ activemq.xml by this info in the pom.xml/geronimo-plugin.xml: activemq.xml activemq-template.xml There's also some admin console support for editing this file which I think uses the activemq-template file which is also installed. In any case if you want to deal with editing this file individually on every server you can just change it in place or if you want a more reproducible process you could copy the activemq-broker maven project and build a plugin with your own plan. Use an artifact-alias entry to make your plugin replace ours. hope this answers your question david jencks > > > Regards, > > Raj --Apple-Mail-89--846080532 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
On Mar 17, 2009, = at 3:29 AM, Raj Saini wrote:

Hi,

I = am trying hard to configure the embedded ActiveMQ to use an external = configuration file in 2.2 SNAPSHOT (laster trunk revision). I read = somewhere in the mailing list that it is possible to configure 2.2 = SNAPSHOT with external file but not finding any definite = documentation/guide to do the same. I looked around in the source tree = and found ActiveMQ  plan = server/plugins/activemq/activemq-broker/src/main/plan folder. However, = after building the geronimo from source, I do not see the configuration = in the Gbean of this plan used by the Geronimo.

I shall be = thankful if someone can help me or point me to the documentation or any = other resource.

In 2.2 we = are using the "native" xbean-spring xml file to configure the activemq = broker.  By default it's installed into = var/activemq/conf/activemq.xml by this info in the = pom.xml/geronimo-plugin.xml:

   =                     =  <plugin-artifact>
         =                   =  <copy-file relative-to=3D"server" = dest-dir=3D"var/activemq/conf">activemq.xml</copy-file>
 = ;                    =        <copy-file relative-to=3D"server" = dest-dir=3D"var/activemq/template">activemq-template.xml</copy-file>
                 =       =  </plugin-artifact>

There's also some = admin console support for editing this file which I think uses the = activemq-template file which is also = installed.

In any case if you want to deal with = editing this file individually on every server you can just change it in = place or if you want a more reproducible process you could copy the = activemq-broker maven project and build a plugin with your own plan. =  Use an artifact-alias entry to make your plugin replace = ours.

hope this answers your = question
david = jencks