activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <d...@iq80.com>
Subject Re: Does ra embedded broker require spring?
Date Sat, 03 Mar 2007 02:32:33 GMT
The answer for anyone reading the logs is to set the resource adapter  
property:

   BrokerXmlConfig=broker:(tcp://localhost:61616)

-dain

On Mar 1, 2007, at 11:46 PM, James Strachan wrote:

> On 3/2/07, Dain Sundstrom <dain@iq80.com> wrote:
>> Is there anyway to get the ActiveMQResourceAdapter to create an
>> embedded broker without adding spring to my project?  I just want a
>> default broker and don't want to pull in spring and all of its deps.
>
> If you use vm://localhost as your brokerURL in your RA then you'll get
> an embedded broker by default. You can still configure the broker a
> little (see the end of this page)...
> http://activemq.apache.org/broker-configuration-uri.html
>
> If you want anything more complex, its pretty easy to configure a
> broker yourself in Java code...
> http://activemq.apache.org/how-do-i-embed-a-broker-inside-a- 
> connection.html
> -- 
>
> James
> -------
> http://radio.weblogs.com/0112098/


Mime
View raw message