new GUID().toString(),
randInt().intValue(),
   protected Message createMessage(int i) throws Exception   {      Map coreHeaders = generateFilledMap(true);                     Map jmsProperties = generateFilledMap(false);                     JBossStreamMessage m =          new JBossStreamMessage(new GUID().toString(),            true,            System.currentTimeMillis() + 1000 * 60 * 60,            System.currentTimeMillis(),            i,            i + 2,            coreHeaders,            new ArrayList(),            i % 2 == 0 ? new GUID().toString() : null,            genCorrelationID(i),            i % 2 == 0,            new GUID().toString(),            i % 2 == 1,            new GUID().toString(),            new GUID().toString(),            jmsProperties);              m.writeBoolean(randBool().booleanValue());      m.writeByte(randByte().byteValue());      m.writeBytes(randByteArray());      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.writeString(randString(1000));      return m;         }