super.drainDestination(cf, queue); super.drainDestination(cf, queue2);
   public void setUp() throws Exception   {      super.setUp();      ServerManagement.init("all");            ServerManagement.undeployTopic("Topic");      ServerManagement.undeployQueue("Queue");      ServerManagement.undeployQueue("Queue2");            ServerManagement.deployTopic("Topic");      ServerManagement.deployQueue("Queue");      ServerManagement.deployQueue("Queue2");      InitialContext ic = new InitialContext(ServerManagement.getJNDIEnvironment());      cf = (ConnectionFactory)ic.lookup("jms/QueueConnectionFactory");      topic = (Topic)ic.lookup("/topic/Topic");      queue = (Queue)ic.lookup("/queue/Queue");      queue2 = (Queue)ic.lookup("/queue/Queue2");      producerConnection = cf.createConnection();      consumerConnection = cf.createConnection();      producerSession = producerConnection.createSession(false, Session.AUTO_ACKNOWLEDGE);      consumerSession = consumerConnection.createSession(false, Session.AUTO_ACKNOWLEDGE);      topicProducer = producerSession.createProducer(topic);      topicProducer.setDeliveryMode(DeliveryMode.NON_PERSISTENT);      topicConsumer = consumerSession.createConsumer(topic);      queueProducer = producerSession.createProducer(queue);      queueProducer.setDeliveryMode(DeliveryMode.NON_PERSISTENT);      queueConsumer = consumerSession.createConsumer(queue);            //super.drainDestination(cf, queue);      //super.drainDestination(cf, queue2);      log.debug("setup done");   }