This content has been marked as final.
Show 2 replies
-
1. Re: queue deletion
peterj Dec 27, 2006 2:01 PM (in response to nbreau)Call 'destroyQueue' passing the name of the queue. You can try it out using the jmx-console.
-
2. Re: queue deletion
fredazom1 May 20, 2008 5:09 AM (in response to nbreau)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