count = (Integer)ServerManagement.getAttribute(destObjectName, "NonDurableMessageCount");
assertEquals(0, count.intValue());
// Now connect again and restore the durable subscription
conn = cf.createTopicConnection();
conn.setClientID("Client1");
s = conn.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
MessageConsumer cons = s.createDurableSubscriber(topic, "SubscriberA");
count = (Integer)ServerManagement.getAttribute(destObjectName, "AllMessageCount");