0,
   protected Message createMessage(byte i, boolean reliable) throws Exception   {      HashMap coreHeaders = generateFilledMap(true);                     HashMap jmsProperties = generateFilledMap(false);                     JBossBytesMessage m =          new JBossBytesMessage(i,         reliable,         System.currentTimeMillis() + 1000 * 60 * 60,         System.currentTimeMillis(),         i,         coreHeaders,         null,         0,         i % 2 == 0 ? new GUID().toString() : null,         genCorrelationID(i),         i % 3 == 2 ? randByteArray(50) : null,         new JBossQueue("testDestination"),         new JBossQueue("testReplyTo"),                     jmsProperties);             m.writeBoolean(randBool().booleanValue());      m.writeByte(randByte().byteValue());      m.writeBytes(randByteArray(500));      m.writeChar(randChar().charValue());      m.writeDouble(randDouble().doubleValue());      m.writeFloat(randFloat().floatValue());      m.writeInt(randInt().intValue());      m.writeLong(randLong().longValue());            m.writeShort(randShort().shortValue());      m.writeUTF(randString(1000));      return m;         }