public void testResetMakesReadble() throws Exception
{
try
{
JMSStreamMessage bm = TestMessageHelper.newJMSStreamMessage();
bm.writeInt(10);
bm.reset();
bm.writeInt(12);
fail("expected exception did not occur");
}
catch (MessageNotWriteableException m)