XMSC_WMQ_MQMD_MESSAGE_CONTEXT

    Data type:
    System.Int32

    Property of:
    Destination

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

The valid values for this property are:

    XMSC_WMQ_MDCTX_DEFAULT
    For outbound messages, the MQOPEN API call and the MQPMO structure specifies no explicit message context options.

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

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

By default this property is set to XMSC_WMQ_MDCTX_DEFAULT.

Note: This property is not relevant when an application connects to WebSphere Application Server service integration bus. The following properties require XMSC_WMQ_MQMD_MESSAGE_CONTEXT property to be set to XMSC_WMQ_MDCTX_SET_IDENTITY_CONTEXT property value or XMSC_WMQ_MDCTX_SET_ALL_CONTEXT property value when sending a message for in order to have wanted effect:

  • JMS_IBM_MQMD_USERIDENTIFIER
  • JMS_IBM_MQMD_ACCOUNTINGTOKEN
  • JMS_IBM_MQMD_APPLIDENTITYDATA

Following properties require XMSC_WMQ_MQMD_MESSAGE_CONTEXT property to be set to XMSC_WMQ_MDCTX_SET_ALL_CONTEXT property value when sending a message for in order to have wanted effect:

  • JMS_IBM_MQMD_PUTAPPLTYPE
  • JMS_IBM_MQMD_PUTAPPLNAME
  • JMS_IBM_MQMD_PUTDATE
  • JMS_IBM_MQMD_PUTTIME
  • JMS_IBM_MQMD_APPLORIGINDATA

Parent topic: Property definitions