/** * Puts the message body in read-only mode and repositions the stream of * bytes to the beginning. * * @throws JMSException if an internal error occurs */ @Override public void reset() throws JMSException { storeContent(); this.bytesOut = null; this.dataIn = null; this.dataOut = null; this.remainingBytes = -1; setReadOnlyBody(true); }
/** * Puts the message body in read-only mode and repositions the stream of * bytes to the beginning. * * @throws JMSException if an internal error occurs */ @Override public void reset() throws JMSException { storeContent(); this.bytesOut = null; this.dataIn = null; this.dataOut = null; this.remainingBytes = -1; setReadOnlyBody(true); }
/** * Puts the message body in read-only mode and repositions the stream of * bytes to the beginning. * * @throws JMSException if an internal error occurs */ public void reset() throws JMSException { storeContent(); this.bytesOut = null; this.dataIn = null; this.dataOut = null; this.remainingBytes = -1; setReadOnlyBody(true); }
/** * Puts the message body in read-only mode and repositions the stream of * bytes to the beginning. * * @throws JMSException if an internal error occurs */ @Override public void reset() throws JMSException { storeContent(); this.bytesOut = null; this.dataIn = null; this.dataOut = null; this.remainingBytes = -1; setReadOnlyBody(true); }
/** * Puts the message body in read-only mode and repositions the stream of * bytes to the beginning. * * @throws JMSException if an internal error occurs */ @Override public void reset() throws JMSException { storeContent(); this.bytesOut = null; this.dataIn = null; this.dataOut = null; this.remainingBytes = -1; setReadOnlyBody(true); }