//now recreate the durable subscriber with selector to check there are no exceptions generated
//and then verify the messages are received correctly
TopicConnection durConnection3 = (TopicConnection) factory.createConnection("guest", "guest");
TopicSession durSession3 = (TopicSession) durConnection3.createSession(false, Session.AUTO_ACKNOWLEDGE);
TopicSubscriber durSub3 = durSession3.createDurableSubscriber(topic, SUB_NAME, "testprop='true'", false);
durConnection3.start();
for (int i = 0; i < 5; i++)
{
Message message = durSub3.receive(2000);
if (message == null)