Overloaded ImqItem methods

virtual ImqBoolean copyOut( ImqMessage & msg );
Copies the characters to the message buffer, replacing any existing content. Sets the msg format to MQFMT_STRING.

See the parent class method description for further details.

virtual ImqBoolean pasteIn( ImqMessage & msg );
Sets the characters by transferring the remaining data from the message buffer, replacing the existing characters.

To be successful, the encoding of the msg object must be MQENC_NATIVE. Retrieve messages with MQGMO_CONVERT to MQENC_NATIVE.

To be successful, the ImqMessage format must be MQFMT_STRING.

See the parent class method description for further details.