WebSphere Message Service Client for C/C++, Version 2.0.2 Operating Systems: AIX, Linux, Solaris, Windows

XMSC_WMQ_MQMD_MESSAGE_CONTEXT

Data type:
xmsINT
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 will specify 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 will be set to XMSC_WMQ_MDCTX_DEFAULT.

Note: This property is not relevant when an application connects to System Integration Bus.
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 desired 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 desired effect:
  • JMS_IBM_MQMD_PUTAPPLTYPE
  • JMS_IBM_MQMD_PUTAPPLNAME
  • JMS_IBM_MQMD_PUTDATE
  • JMS_IBM_MQMD_PUTTIME
  • JMS_IBM_MQMD_APPLORIGINDATA

For further information about the Message Context, see WebSphere MQ Application Programming Guide book and WebSphere MQ Application Programming Reference book.


Reference topic

Terms of Use | Rate this page

Last updated: 24 May 2011

(C) Copyright IBM Corporation 2005, 2011. All Rights Reserved.