CurHdrCompression (MQLONG)

This field specifies which technique is currently being used to compress the header data.

It is set to one of the following:

    MQCOMPRESS_NONE
    No header data compression is performed.

    MQCOMPRESS_SYSTEM
    Header data compression is performed.

The value can be altered by a sending channel's message exit to one of the negotiated supported values accessed from the HdrCompList field of the MQCD. This enables the technique used to compress the header data to be chosen for each message based on the content of the message. The altered value is used for the current message only. The channel ends if the attribute is altered to an unsupported value. The value is ignored if altered outside a sending channel's message exit.

This is an input/output field to the exit. The field is not present if Version is less than MQCXP_VERSION_6.