[jboss-user] [JBoss Messaging] - Re: How do I empty a JBoss queue?

ataylor do-not-reply at jboss.com
Tue Feb 26 09:57:37 EST 2008


You could write your own service to do this on startService() or stopService(), just connect to the database and execute something to delete he messages from JBM_MSG and JBM_MSG_REF. You'd have to make sure that the dependencies were in the correct order, i.e. If you do it on startup make sure you get called ahead of the messaging server being started.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132205#4132205

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132205



More information about the jboss-user mailing list