activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samahome <>
Subject Re: Delete Topic Programmatically?
Date Wed, 06 Dec 2006 00:01:04 GMT

Could you give some example on how to connect to the MBean Server  and get
the broker MBean instance ?

My activeMQ broker is running in stand-alone mode (not embedded broker).

- Sreenivas

Adrian Co wrote:
> Well, in a short note, the function you want would be 
> BrokerViewMBean.removeTopic.
> You just need to connect to the mbean server and get the broker mbean 
> via JMX.
> SingleShot wrote:
>> I would like to create a Java API to allow clients to create and destroy
>> topics. I've scoured the ActiveMQ site and the API and cannot figure out
>> how
>> to programatically do this (in particular, how to "delete" a topic). How
>> would I do this? I suspect with JMX, but the JMX links on the site do not
>> illuminate how to do it.
>> Thanks.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message