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
[
http://community.jboss.org/message/545321#545321]
Start a new discussion in JBoss Messaging at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]