Using a client channel definition table with .NET
You can use a client channel definition table (CCDT) with the .NET classes for IBM® MQ. You specify the location of the CCDT in different ways, depending on whether you are using a managed or unmanaged connection.
Non-XA or XA unmanaged client connection type
With an unmanaged connection type, you can specify the location of the CCDT in two ways:
- Using the environment variables MQCHLLIB to specify the directory where the table is located, and MQCHLTAB to specify the file name of the table.
- Using the client configuration file. In the CHANNELS stanza, use the attributes ChannelDefinitionDirectory to specify the directory where the table is located, and ChannelDefinitionFile to specify the file name.
Managed client connection type
With a managed connection type, you can specify the location of the CCDT in three ways:
- Using the .NET application configuration file. In the CHANNELS section, use the keys ChannelDefinitionDirectory to specify the directory where the table is located, and ChannelDefinitionFile to specify the file name.
- Using the environment variables MQCHLLIB to specify the directory where the table is located, and MQCHLTAB to specify the file name of the table.
- Using the client configuration file. In the CHANNELS stanza, use the attributes ChannelDefinitionDirectory to specify the directory where the table is located, and ChannelDefinitionFile to specify the file name.