activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leng_cn <>
Subject how can i get the connections from the broker
Date Thu, 11 Jul 2013 02:28:42 GMT
when i create a connection such as the flowing codeActiveMQConnectionFactory
fac = new ActiveMQConnectionFactory(						
GetConfig.getValue("brokerURL"));*connection *=
another java class main methodhow can i get the above the connection????when
i use the flowing codeRemoteJMXBrokerFacade createConnector = new
RemoteJMXBrokerFacade(); System.setProperty("webconsole.jmx.url",
SystemPropertiesConfiguration configuration = new
createConnector.setConfiguration(configuration); *ConnectionViewMBean *con =
null;try {con = createConnector.getConnection("bmpv6");if(con!=null &&
!con.isActive()) con.start();only get the ConnectionViewMBean not the
Connectionhow can i do???pls and thanks everybody

View this message in context:
Sent from the ActiveMQ - Dev mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message