nevado-jms/src/main/java/org/skyscreamer/nevado/jms/message/NevadoStreamMessage.java
/**
     * Puts the message body in read-only mode and repositions the stream of
     * bytes to the beginning.
     *
     * @throws JMSException
     *             if an internal error occurs
     */
Puts the message body in read-only mode and repositions the stream of
bytes to the beginning.

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