activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Co <...@exist.com>
Subject Re: Embedded Networked Brokers
Date Fri, 14 Apr 2006 23:44:13 GMT

If you want to configure a broker using spring and pojos, one way is to use
this:

BrokerService brokerService = (new XBeanBrokerFactory()).createBroker(new
URI("xbean:activemq.xml"));
brokerService.addNetworkConnector(...);
brokerService.start();

where activemq.xml is in the classpath. To specify an absolute file path
use: xbean:file:c:/activemq.xml

Regards,
Adrian Co


--
View this message in context: http://www.nabble.com/Embedded-Networked-Brokers-t1448274.html#a3924923
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message