activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garner, Shawn" <shawn.gar...@vangent.com>
Subject broker factory bean config file
Date Tue, 01 May 2007 18:45:50 GMT
I need to do this: 

<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfi
gurer">

            <property name="location"
value="/WEB-INF/config-spring/applicationContext.properties"/>

      </bean>

 

Instead of this

 

<bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfi
gurer"/>

 

in my activemq.xml file but it says it can't fined
applicationContext.properties which is probably because it's relative to
the web app root

 

 

Here's my broker def:

 

<bean id="broker" class="org.apache.activemq.xbean.BrokerFactoryBean">

            <property name="config" value="classpath:activemq.xml" />

            <property name="start" value="true" />

</bean>

 

 

Any help would be greatly appreciated.

 

Shawn 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message