Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload");
Message m = MessageFactory.createMessage("message0", true, 777l, 888l, (byte)9, headers, "payload");
   public void testNonRecoverableMessageStore_3() throws Exception   {      if (ms.isRecoverable())      {         // we only test non-recoverable message stores         return;      }      if (ms.acceptReliableMessages())      {         // we only test message stores that do not accept reliable message         return;      }      Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload");      // non-recoverable store, reliable message, one message      try      {         ms.reference(m);         fail("should throw IllegalStateException");      }      catch(IllegalStateException e)      {         // OK      }   }