I need to change the C++ code to connect with WebSphere MQ using Client Channel defnition table. There are about 5000+ MQ clients and 10 MQ Servers on Windows 2003 with v6.0. Please help me if any one using C++ with CCDT.
Set the MQCHLLIB and MQCHLTAB environment variables to point to the channel table as described in "Using WebSphere MQ environment variables." Next, set SSLKEYR as described in the same section of the manual. These will allow the app to find the CCDT and the KDB files. Be sure that the CCDT contains channel definitions which specify the right SSLCIPH and then connect as usual. No code changes should be required.
A word of advice, use the WMQ v7 client, even though the server is at v6. The client is backward compatible as long as you do not try to use the v7 features like automatic reconnect. However, v6 is end-of-life next year and if you want to avoid retesting and redeployment - or running an unsupported version - deploy as much as possible on v7 components.
XML file has MQ Servers connection information like host name, queue manager name, channel and port. Client first try to connect to 1st queue manager in xml file and if it fails to establish the connection then it goes for 2nd queue manager. Client connections are not load balanced and all the servers are in Cluster. I'm sure clients connecting using MQCONN and will aslo confirm the same with developers. I read about new features in v7.0 about auto reconnection and clients selecting the queue managers randomly from Client Channel definition table.
Please let me know how can i send you the trace file which has MQCONN.