ServerManagement.setAttribute(serverPeerObjectName, "DefaultDLQ", defaultDLQObjectName);
ServerManagement.setAttribute(new ObjectName(testQueueObjectName), "DLQ", "");
Queue testQueue = (Queue)ic.lookup("/queue/TestQueue");
Queue defaultDLQ = (Queue)ic.lookup("/queue/DefaultDLQ");
Queue overrideDLQ = (Queue)ic.lookup("/queue/OverrideDLQ");
drainDestination(cf, testQueue);
drainDestination(cf, defaultDLQ);