activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder" <bruce.sny...@gmail.com>
Subject Re: How to delete a queue?
Date Mon, 20 Aug 2007 13:18:35 GMT
On 8/20/07, bill richard <billrichard@126.com> wrote:
>
> hi,all
>  i m using activeMq recently.And now i need to delete a named queue,which is
> created like this:
> session.createQueue(Name);
> and i want to remove this queue.
> And i have found that this work can be done with jmx.but i have no idea with
> BrokerService and ManagedRegionBroker which are the construct arguments of
> BrokerView.
> Any suggestion will be niceļ¼Œand will be great if a piece of code example !

Attached is a code example of using JMX to query for MBeans and then
create a topic and remove that topic. I'm sure this can be adapted to
queues.

I'm CC'ing your directly in case the list removes 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 ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/

Mime
View raw message