something like
public class MyService extends ServiceMBeanSupport
| {
| public synchronized void startService() throws Exception
| {
| /**
| * Here you could connect to the Destination via the mbeanserver and call
removeAllMessage
| * or alternatively just get the datasource and delete messages using JDBC
| */
|
| }
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132210#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...