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 url and broker xbean config file
Date Fri, 13 Apr 2007 16:16:28 GMT
Is there a way to move the brokerURL into the activemq.xml file?
 
So I can go from:
 
<bean id="broker" class="org.apache.activemq.xbean.BrokerFactoryBean">
    <property name="config"
value="classpath:org/apache/activemq/xbean/activemq.xml" />
    <property name="start" value="true" />
  </bean>
 
  <bean id="connectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory"
depends-on="broker">
    <property name="brokerURL" value="vm://localhost"/>
  </bean>
 
To
 
<bean id="broker" class="org.apache.activemq.xbean.BrokerFactoryBean">
    <property name="config"
value="classpath:org/apache/activemq/xbean/activemq.xml" /><!--this now
configures <property name="brokerURL" value="vm://localhost"/>-->
    <property name="start" value="true" />
  </bean>
 
  <bean id="connectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory"
depends-on="broker"/>
 

 

 

Shawn

 


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