Assert.assertNotNull("subscriber 2 - message recieved", msg2);
Assert.assertNotNull("subscriber 3 - message recieved", msg3);
/* Commit the session 1 to clear the topic */
s_rec1.commit();
/* Rollback the session 2 */
s_rec2.rollback();
msg3 = ts3.receiveNoWait();
Assert.assertNotNull("subscriber 3 - message redelivered after rollback", msg3);
/* Commit the session 2 to clear the topic */
s_rec2.commit();
/* Check, if the headers are set for msg1 */