You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "Garner, Shawn" <sh...@vangent.com> on 2007/05/01 20:45:50 UTC

broker factory bean config file

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