activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Does ra embedded broker require spring?
Date Fri, 02 Mar 2007 07:46:11 GMT
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