if (bodyWriteOnly)
if (!bodyReadOnly)
   private void checkRead() throws JMSException   {      if (bodyWriteOnly)      {         throw new MessageNotReadableException("readByte while the buffer is writeonly");      }      // We have just received/reset() the message, and the client is trying to      // read it      if (istream == null || m == null)      {         if (log.isTraceEnabled()) {  log.trace("internalArray:" + payload); }         istream = new ByteArrayInputStream((byte[])payload);         m = new DataInputStream(istream);      }   }