Specifying channel exits (managed client)

If you specify a channel name and connection name when creating your MQQueueManager object (either in the MQEnvironment or on the MQQueueManager constructor) you can specify channel exits in two ways.

In order of precedence, these are:
  1. Passing hashtable properties MQC.SECURITY_EXIT_PROPERTY, MQC.SEND_EXIT_PROPERTY or MQC.RECEIVE_EXIT_PROPERTY on the MQQueueManager constructor.
  2. Setting the MQEnvironment SecurityExit, SendExit or ReceiveExit properties.
If you do not specify a channel name and connection name, the channel exits to use come from the channel definition picked up from a client channel definition table (CCDT). It is not possible to override the values stored in the channel definition. See Client channel definition table and Using a client channel definition table with .NET for more information about channel definition tables.
In each case, the specification takes the form of a string with the following format:

Assembly_name(Class_name)
Class_name is the fully qualified name, including namespace specification, of a .NET class that implements the IBM.WMQ.MQSecurityExit, IBM.WMQ.MQSendExit or IBM.WMQ.MQReceiveExit interface (as appropriate). Assembly_name is the fully qualified location, including file extension, of the assembly that houses the class. The length of the string is limited to 999 characters if you use the properties of MQEnvironment or MQQueueManager. However, if the channel exit name is specified in the CCDT, it is limited to 128 characters. When necessary, the .NET client code loads and creates an instance of the specified class by parsing the string specification.