As a requirement of our partner, We have to make MQ connections on different ports. And the requirement is to configure separate CCDT files for each port because. All connections are made on one client application (one Process
).
Because our client application is one Process
I can't configure the below environment variables for each port separately.
How environment variables are set for configuring Client Channel Definition (This is .NET C#):
Environment.SetEnvironmentVariable("MQCHLLIB", @"C:\ProgramData\IBM\MQ");
Environment.SetEnvironmentVariable("MQCHLTAB", "AMQCLCHL<PORT>.TAB");
Our problem; We have to set these environment variables on connection level and not on Process or Global level. Any suggestions?
Update below is from info gathered in comments and Chat:
- Requirement is to configure Header and Message compression with XMS.NET.
- Per IBM's answer to IBM Community Forums post "Header and message compression on IBM.XMS with C# .NET" XMS.NET can only utilize compression using a CCDT.
- CCDT Entries have
QMNAME(*)
. - Difference between CCDT entries is only the
PORT
.