assertNotNull(tm);
assertEquals("3", tm.getText());
assertEquals("VALUE2", tm.getStringProperty("PROP2"));
tm.acknowledge();
conn.close(); // this should close the consumer, producer and session associated with the connection
// Reopen the connection and consumer