ServerManagement.setAttribute(serverPeerObjectName, "DefaultExpiryQueue", defaultExpiryObjectName);
ServerManagement.setAttribute(new ObjectName(testQueueObjectName), "ExpiryQueue", "");
Queue testQueue = (Queue)ic.lookup("/queue/TestQueue");
Queue defaultExpiry = (Queue)ic.lookup("/queue/DefaultExpiry");
Queue overrideExpiry = (Queue)ic.lookup("/queue/OverrideExpiry");
drainDestination(cf, testQueue);
drainDestination(cf, defaultExpiry);