[jboss-user] [JBoss Messaging] - queue deletion

nbreau do-not-reply at jboss.com
Wed Dec 27 11:41:57 EST 2006


I am able to programatically create a queue using the code bellow. Can someone point out what I need to call on server.invoke to programatically delete a queue ?

ObjectName dm = new  ObjectName("jboss.messaging:service=ServerPeer");
  server.invoke(
           dm,
           "createQueue",
           new Object[] { queueName, queueName },
           new String[] { String.class.getName(), String.class.getName()}
           );

thanks,
Nick.

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

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



More information about the jboss-user mailing list