public void testExclusiveNotAutoDelete() throws IOException {
String name = "exclusivequeue";
channel.queueDeclare(name, false, true, false, null);
// now it's there
verifyQueue(name, false, true, false, null);
QueueingConsumer consumer = new QueueingConsumer(channel);
String consumerTag = channel.basicConsume(name, consumer);
channel.basicCancel(consumerTag);
// and still there, because exclusive no longer implies autodelete
verifyQueueExists(name);
}