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

Reply via email to