activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher G. Stach II" <...@ldsys.net>
Subject Re: broker url and broker xbean config file
Date Fri, 13 Apr 2007 17:13:04 GMT
Garner, Shawn wrote:
> 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
> 
>  
> 
> 

Redelivery is a function of the client, so it kind of belongs in the
URL.  That's where I have mine.

-- 
Christopher G. Stach II


Mime
View raw message