Specifying channel exit user data (managed client)

Channel exits can have user data associated with them. If you specify a channel name and connection name when creating your MQQueueManager object (either in the MQEnvironment or on the MQQueueManager constructor) we can specify the user data in two ways.

In order of precedence, these are:
  1. Passing hashtable properties MQC.SECURITY_USERDATA_PROPERTY, MQC.SEND_USERDATA_PROPERTY or MQC.RECEIVE_USERDATA_PROPERTY on the MQQueueManager constructor.
  2. Set the MQEnvironment SecurityUserData, SendUserData or ReceiveUserData properties.
If we do not specify a channel name and connection name, the exit user data values to use come from the channel definition picked up from the client channel definition table (CCDT). It is not possible to override the values stored in the channel definition. See Client channel definition table and Use a client channel definition table with .NET for more information about channel definition tables.

In each case, the specification is a string, limited to 32 characters.