Overloaded ImqItem methods

virtual ImqBoolean copyOut( ImqMessage & msg );
Inserts an MQIIH data structure into the message buffer at the beginning, moving existing message data further along. Sets the msg format to MQFMT_IMS.

See the parent class method description for further details.

virtual ImqBoolean pasteIn( ImqMessage & msg );
Reads an MQIIH data structure from the message buffer.

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_IMS.

See the parent class method description for further details.