Potkay, Peter M (CTO Architecture + Engineering)
2014-07-22 20:35:40 UTC
MQ Client Channel tables versus mqclient.ini
I'm reevaluating my ancient position that apps should use MQ Client Channel tables as the preferred method of specifying their MQ connection details. While I appreciated that channel tables exposed 100% of the options available to MQ Clients (unlike MQSERVER), and allowed me to set all those gory details without them worrying about the gory details (unlike MQCONNX), I didn't like the binary nature of the file. You couldn't just pop it open in read only mode to see what you had. I know there are lots of ways to officially look at the contents, but app areas didn't always have access to these tools so they contacted me. Again.
So, this mqclient.ini file is a nice plain text file. What I haven't been able to find online is an evaluation of mqclient.ini versus MQ Client Channel Tables. If the mqclient.ini file had all the functionality of the channel table I would change by recommendation away from channel tables and over to mqclient.ini.
So, any thoughts on this? Does mqclient.ini offer everything Client Channel tables do, assuming the following:
The MQ Client app will not be specifying a QM name on its MQ connect.
The MQ Client app will have one channel table or mqclient.ini file per environment.
The MQ Client app will need to connect to 1 of 3 queue managers that act as backup to each other. But it doesn't care which one it connects to, and it only needs to be connected to one at a time.
The one benefit that client channel tables have over mqclient.ini that I can see is if the app needs to control which one of the QMs it wants to connect to, it can with channel tables (supply the QM name), but its not possible in mqclient.ini. Or is it.....If the app uses mqclient.ini (with 3 hostnames) and supplies a QM name - would the MQCONNX call fail with a 2058 and it would keep retrying until it 'hit' the right QM?
Any other big differences between the 2 methods?
Peter Potkay
************************************************************
This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies.
************************************************************
To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
I'm reevaluating my ancient position that apps should use MQ Client Channel tables as the preferred method of specifying their MQ connection details. While I appreciated that channel tables exposed 100% of the options available to MQ Clients (unlike MQSERVER), and allowed me to set all those gory details without them worrying about the gory details (unlike MQCONNX), I didn't like the binary nature of the file. You couldn't just pop it open in read only mode to see what you had. I know there are lots of ways to officially look at the contents, but app areas didn't always have access to these tools so they contacted me. Again.
So, this mqclient.ini file is a nice plain text file. What I haven't been able to find online is an evaluation of mqclient.ini versus MQ Client Channel Tables. If the mqclient.ini file had all the functionality of the channel table I would change by recommendation away from channel tables and over to mqclient.ini.
So, any thoughts on this? Does mqclient.ini offer everything Client Channel tables do, assuming the following:
The MQ Client app will not be specifying a QM name on its MQ connect.
The MQ Client app will have one channel table or mqclient.ini file per environment.
The MQ Client app will need to connect to 1 of 3 queue managers that act as backup to each other. But it doesn't care which one it connects to, and it only needs to be connected to one at a time.
The one benefit that client channel tables have over mqclient.ini that I can see is if the app needs to control which one of the QMs it wants to connect to, it can with channel tables (supply the QM name), but its not possible in mqclient.ini. Or is it.....If the app uses mqclient.ini (with 3 hostnames) and supplies a QM name - would the MQCONNX call fail with a 2058 and it would keep retrying until it 'hit' the right QM?
Any other big differences between the 2 methods?
Peter Potkay
************************************************************
This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies.
************************************************************
To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html