Context (MQLONG)
This describes what message context the property belongs to.
When a queue manager receives a message containing an IBM MQ -defined property that the queue manager recognizes as being incorrect, the queue manager corrects the value of the Context field.
The following option can be specified:
- MQPD_USER_CONTEXT
- The property is associated with the user context.
No special authorization is required to be able to set a property associated with the user context using the MQSETMP call.
On a IBM WebSphere MQ Version 7.0 queue manager, a property associated with the user context is saved as described for MQOO_SAVE_ALL_CONTEXT. An MQPUT call with MQPMO_PASS_ALL_CONTEXT specified, causes the property to be copied from the saved context into the new message.
If the option previously described is not required, the following option can be used:
- MQPD_NO_CONTEXT
- The property is not associated with a message context.
An unrecognized value is rejected with a Reason code of MQRC_PD_ERROR
This is an input/output field to the MQSETMP call and an output field from the MQINQMP call. The initial value of this field is MQPD_NO_CONTEXT.
Parent topic: Fields for MQPD