activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Create a broker with vm and tcp transport connectors
Date Fri, 05 May 2006 06:06:32 GMT
On 5/5/06, Kuppe <kuppe@360t.com> wrote:
>
> Ok, i now have a use case working with the example below. Thanks.
>
> However when using the ActiveMQConnectionFactory to create the broker, how
> do I explicitly start or stop the BrokerService, or even better get a
> reference to the running BrokerService?

Why not just create a BrokerService explicitly using the Java APIs
http://activemq.org/How+do+I+embed+a+Broker+inside+a+Connection

then you can do whatever you like with it; or use Spring to dependency
inject it into your code.

--

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message