MDMSGCTX

What level of message context is to be set by the JMS application. The application must be running with appropriate context authority for this property to take effect.


Applicable Objects

JMS administration tool long name: MDMSGCTX

JMS administration tool short name: MDCTX


Programmatic access

Setters/getters

  • MQDestination.setMQMDMessageContext()
  • MQDestination.getMQMDMessageContext()


Values

    DEFAULT
    The MQOPEN API call and the MQPMO structure specify no explicit message context options. This is the default value for administrative tools.
    For programs, use WMQ_MDCTX_DEFAULT.

    SET_IDENTITY_CONTEXT
    The MQOPEN API call specifies the message context option MQOO_SET_IDENTITY_CONTEXT and the MQPMO structure specifies MQPMO_SET_IDENTITY_CONTEXT.
    For programs, use WMQ_MDCTX_SET_IDENTITY_CONTEXT.

    SET_ALL_CONTEXT
    The MQOPEN API call specifies the message context option MQOO_SET_ALL_CONTEXT and the MQPMO structure specifies MQPMO_SET_ALL_CONTEXT.
    For programs, use WMQ_MDCTX_SET_ALL_CONTEXT.

Parent topic: Properties of IBM MQ classes for JMS objects