public final void setMessageContent(final byte[] content) {
        Utility.assertNotNull("content", content);

        this.messageContent = Base64.encode(content);
        this.messageType = QueueMessageType.BASE_64_ENCODED;
    }
public final void setMessageContent(final byte[] content) {
        Utility.assertNotNull("content", content);

        this.messageContent = Base64.encode(content);
        this.messageType = QueueMessageType.BASE_64_ENCODED;
    }
public final void setMessageContent ( final byte [ ] content ) { Utility . assertNotNull ( "content" , content ) ; this . messageContent = Base64 . encode ( content ) ; this . messageType = QueueMessageType . BASE_64_ENCODED ; }
Sets the content of the message as a <code>byte</code> array.

@param content
A <code>byte</code> array which contains the content of the message.
Sets the content of the message as a <code > byte< / code > array .