connection = getConnection();
consumerSession = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
subscriber = consumerSession.createDurableSubscriber(topic, getTestName(), null, true);
connection.start();
m = subscriber.receive(NEGATIVE_RECEIVE_TIMEOUT);
assertNull("Message should not be received on a new connection", m);
}
finally
{
consumerSession.unsubscribe(getTestName());