Hi, I have a standalone ActiveMQ-Broker (started with activemq.bat). In my code i use following:
ActiveMQConnectionFactory cf = new ActiveMQConnectionFactory(prop.getProperty("TCP")); ActiveMQConnectionconnection = (ActiveMQConnection)cf.createConnection(); ActiveMQConnection connection.start(); System.out.println(connection.getBrokerInfo().getBrokerId()); I get the BrokerId, but i find no option to get the Broker- or the BrokerService-instance. Has anybody an Idea? -- View this message in context: http://www.nabble.com/get-Broker-from-ActiveMQConnectionFactory--tp21327599p21327599.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.