Commit e2f3c4db authored by Guillaume Surrel's avatar Guillaume Surrel
Browse files

Fix: deleteQueue method must be synchronized.

parent 9e87a5e2
......@@ -441,7 +441,8 @@ public class Queue implements QueueMBean, Externalizable {
}
}
public void deleteQueue(String queueName, short serverId, long proxyId) throws ResourceLockedException,
public synchronized void deleteQueue(String queueName, short serverId, long proxyId)
throws ResourceLockedException,
TransactionException {
if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG, "Queue.deleteQueue(" + queueName + ')');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment