assertEquals("DurableSubscription backing queue should have 1 message on it initially",
new Integer(1), dursubQueue.getMessageCount());
// Create a connection and start it
TopicConnection connection = (TopicConnection) getConnection();
connection.start();
// Send messages which don't match and do match the selector, checking message count
TopicSession pubSession = connection.createTopicSession(true, org.apache.qpid.jms.Session.SESSION_TRANSACTED);
Topic topic = pubSession.createTopic(TOPIC_NAME);
TopicPublisher publisher = pubSession.createPublisher(topic);