activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sparky2708 <da...@columbia.edu>
Subject Re: How do I delete a queue or topic that I no longer need?
Date Tue, 03 Apr 2007 17:34:06 GMT

Found the easy answer to this question:

In your activemq.xml file put:
    <!-- Use the following to configure how ActiveMQ is exposed in JMX
    <managementContext>
       <managementContext connectorPort="1099"
jmxDomainName="org.apache.activemq"/>
    </managementContext>
    -->

Run JCONSOLE from your java directory.

TO REMOVE A TOPIC/QUEUE:
(1) In the MBEANS tab under org.apache.activemq there will be something
called "BROKER" (sometimes under master if you have master/slave setup)
(2) Click on the tab "Operations"
(3) Invoke the method "Remove Topic" with the topic name as the argument

Thanks for everyone's help!


bsnyder wrote:
> 
> On 4/2/07, sparky2708 <daa82@columbia.edu> wrote:
>>
>> How do I delete a queue or topic that I no longer need? Can I do this
>> through
>> JConsole? If not, how?
> 
> This functionality is available via the JMX APIs in ActiveMQ. Attached
> is a very small project that includes functionality to query for a
> topic and then remove it. I think the list disallows attachments, so
> I'll also CC you directly so you receive the attachment.
> 
> Bruce
> -- 
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
> 
> Apache Geronimo - http://geronimo.apache.org/
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Castor - http://castor.org/
> 
>  
> 

-- 
View this message in context: http://www.nabble.com/How-do-I-delete-a-queue-or-topic-that-I-no-longer-need--tf3507018s2354.html#a9820364
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message