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.