activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jiang <>
Subject How to create BrokerView object
Date Thu, 10 May 2007 12:47:48 GMT

I start ActiveMQ on (expose jmxrmi at 1099) . I want to add
queue/topic  to the server from my pc ( .  Code is below :
jmxUrl = new
JMXConnector jmxc = JMXConnectorFactory.connect(jmxUrl); 
MBeanServerConnection mbsc = jmxc.getMBeanServerConnection(); 
ObjectName mBeanName = new
MBeanInfo mBeanInfo = mbsc.getMBeanInfo(mBeanName);

the mBeanInfo is get successfully. And in debug console , I can see the
className of mBeanInfo is BrokerView. 
How can I create one BrokerView object that presents the object just run in
the ActiveMQ  Server. Then I can use 
addQueue or addTopic of the BrokerView object to add queue/topic to the
ActiveMQ server remotely.???
Thanks . 
View this message in context:
Sent from the ActiveMQ - Dev mailing list archive at

View raw message