activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: broker-config.xml ignored - AMQ 5.6, JBoss 7.2.0-ALPHA1
Date Tue, 07 Aug 2012 10:10:15 GMT
Where does your modified  broker-config.xml reside. It needs to be in
the root of the RAR with that value of BrokerXmlConfig

Also, what is the value of ServerUrl ? That specifies the brokerURL
for the RAR, so the broker to connect to.

On 4 August 2012 15:16, ionEyes <cav_345@tiscali.co.uk> wrote:
> Hi AMQ Users,
>
> I can deploy AMQ and post and receive messages.
> However, I would like to turn off AMQ Journalling and use an Oracle DS for
> persistence.
> I know I have to edit broker-config.xml to do this.
>
> When AMQ's resource adapter loads, it does not seem to process
> broker-config.xml, even though I have specified that this is the file to use
> in RA.xml:
>
>
>         <config-property>
>             <description>
>               Sets the XML configuration file used to configure the embedded
> ActiveMQ broker via
>               Spring if using embedded mode.
>
>               BrokerXmlConfig is the filename which is assumed to be on the
> classpath unless
>               a URL is specified. So a value of foo/bar.xml would be assumed
> to be on the
>               classpath whereas file:dir/file.xml would use the file system.
>               Any valid URL string is supported.
>             </description>
>             <config-property-name>BrokerXmlConfig</config-property-name>
>             <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>xbean:broker-config.xml</config-property-value>
>
>         </config-property>
>
> I would appreciate any help. I have scoured the net before posting.
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/broker-config-xml-ignored-AMQ-5-6-JBoss-7-2-0-ALPHA1-tp4654804.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
http://fusesource.com
http://blog.garytully.com

Mime
View raw message