s_send.commit();
/* Receive the message */
msg = (MapMessage) qr.receiveNoWait();
Assert.assertNotNull("message recieved", msg);
/* Commit the session to clear the queue */
s_rec.commit();
/* Check, that the text of the message is still the same */
Assert.assertEquals("byte", msg.getByte("byte"), (byte) 0);
Assert.assertEquals("boolean", msg.getBoolean("boolean"), true);
Assert.assertEquals("char", msg.getChar("char"), 'c');
Assert.assertEquals("double", msg.getDouble("double"), 1.11d, 0);