Hi,
If you have downloaded the source code of AMQ 4.x, you can find some test
cases that will be helpful:
trunk\activemq-core\src\test\java\org\apache\activemq\core\ (ie.
ActiveMQConnectionFactoryTest)
Below is a sample configuration of the Broker using java configuration :
BrokerService broker = new BrokerService();
broker..setUseJmx(false);
broker.setPersistent(false);
TransportConnector connector = broker.addConnector(new
URI("tcp://localthost:61616"));
connector.setDiscoveryUri(new URI("multicast://default"));
broker.start();
Regards,
Jonas
--
View this message in context:
http://www.nabble.com/Embedded-Brokers-discovery-t1354095.html#a3627452
Sent from the ActiveMQ - User forum at Nabble.com.