nevado-jms/src/main/java/org/skyscreamer/nevado/jms/message/NevadoBytesMessage.java
/**
     * Writes a string to the bytes message stream using UTF-8 encoding in a machine-independent manner.
     * <P>
     * For more information on the UTF-8 format, see "File System Safe UCS Transformation Format (FSS_UTF)", X/Open
     * Preliminary Specification, X/Open Company Ltd., Document Number: P316. This information also appears in ISO/IEC
     * 10646, Annex P.
     *
     * @param value the <code>String</code> value to be written
     * @throws JMSException                 if the JMS provider fails to write the message due to some internal error.
     * @throws MessageNotWriteableException if the message is in read-only mode.
     */
Writes a string to the bytes message stream using UTF-8 encoding in a machine-independent manner.

For more information on the UTF-8 format, see "File System Safe UCS Transformation Format (FSS_UTF)", X/Open
Preliminary Specification, X/Open Company Ltd., Document Number: P316. This information also appears in ISO/IEC
10646, Annex P.

@param value the String value to be written
@throws JMSException                 if the JMS provider fails to write the message due to some internal error.
@throws MessageNotWriteableException if the message is in read-only mode.
Writes a string to the bytes message stream using UTF - 8 encoding in a machine - independent manner . For more information on the UTF - 8 format see " File System Safe UCS Transformation Format ( FSS_UTF ) " X / Open Preliminary Specification X / Open Company Ltd . Document Number : P316 . This information also appears in ISO / IEC 10646 Annex P . @param value the String value to be written @throws JMSException if the JMS provider fails to write the message due to some internal error . @throws MessageNotWriteableException if the message is in read - only mode .
public void writeUTF(String value) throws JMSException {
        initializeWriting();
        try {
            this.dataOut.writeUTF(value);
        }
        catch (IOException ioe) {
            JMSException jmsEx = new JMSException("Could not write data:" + ioe.getMessage());
            jmsEx.setLinkedException(ioe);
            throw jmsEx;
        }
    }
public void writeUTF ( String value ) throws JMSException { initializeWriting ( ) ; try { this . dataOut . writeUTF ( value ) ; } catch ( IOException ioe ) { JMSException jmsEx = new JMSException ( "Could not write data:" + ioe . getMessage ( ) ) ; jmsEx . setLinkedException ( ioe ) ; throw jmsEx ; } }
Writes a string to the bytes message stream using UTF-8 encoding in a machine-independent manner.
Writes a string to the bytes message stream using UTF - 8 encoding in a machine - independent manner .