[jboss-user] [JBoss Messaging] - Clearing messages from all queues.

Peter Johnson do-not-reply at jboss.com
Fri May 28 13:09:12 EDT 2010

Peter Johnson [http://community.jboss.org/people/peterj] replied to the discussion

"Clearing messages from all queues."

To view the discussion, visit: http://community.jboss.org/message/545321#545321

This solution works only if you are using the default hsqldb as your messaging data store (which you should not be using in production). For a general solution, use twiddle to invoke the removeAllMessages operation on the designated queue:

twiddle invoke XXX removeAllMessages

where XXX is the name of the MBean for your queue (I think this works for topics also, but i don't have a topic handy to verify it with).


Reply to this message by going to Community

Start a new discussion in JBoss Messaging at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100528/807ea196/attachment.html 

More information about the jboss-user mailing list