code: int guessPayloadLength() {
      int length = 0;
      byte[] payload = (byte[])getPayload().getField(JmsBytesBodyAccess.BODY_DATA_VALUE);
      if (payload != null) {
        length = payload.length + 24;
      }
      return length;
    }
docs: /*
  Provide an estimate of encoded length of the payload