nevado-jms/src/main/java/org/skyscreamer/nevado/jms/message/AbstractMessage.java
// This is only used by StreamMessage, where readOnly and writeOnly are mutually exclusive.
This is only used by StreamMessage, where readOnly and writeOnly are mutually exclusive.
This is only used by StreamMessage where readOnly and writeOnly are mutually exclusive .
protected void checkWriteOnlyBody() throws MessageNotReadableException {
        if (!_readOnlyBody) {
            throw new MessageNotReadableException("Message body is write-only");
        }
    }
protected void checkWriteOnlyBody ( ) throws MessageNotReadableException { if ( ! _readOnlyBody ) { throw new MessageNotReadableException ( "Message body is write-only" ) ; } }
This is only used by StreamMessage, where readOnly and writeOnly are mutually exclusive.
This is only used by StreamMessage where readOnly and writeOnly are mutually exclusive .