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#4132210
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132210
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user