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

fredazom1 do-not-reply at jboss.com
Tue May 20 05:09:23 EDT 2008


Hi All,

I'm using destroyQueue  (jboss-messaging-1.4.0.SP3 in JBoss 4.2.2 GA) and receive true from the invoke method

Object result1 = mBeanServer.invoke(serverObjectName, "destroyQueue",
          new Object[] {queueName},
          new String[] {"java.lang.String"});
      if(((Boolean)result1).booleanValue()){
        System.out.println("Queue " + queueName + " destroyed");
      }else{
        System.out.println("Queue " + queueName + " not destroyed");
      }

but this queue remains in JBM_POSTOFFICE table. Is it normal?

When I delete it manually from the table (delete from JBM_...) and I try to create a new queue with the same name it doesn't appear on the table... Any hints?

à+

Fredy

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

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




More information about the jboss-user mailing list