Author |
Message
|
mpong |
Posted: Wed Dec 12, 2012 6:26 am Post subject: MQ Client connection to Queue Manager |
|
|
Disciple
Joined: 22 Jan 2010 Posts: 164
|
Hi,
We have current architecture in which mq queue manager on AS400 connects to MQ queue manager on windows, on this windows queue manager mq clients on windows directly connects for receive and send messages.
MQ client connects using environment variable on windows MQ server, can we take out this queue manager and make client directly connect to AS400 queue manager?
I want to know can MQ clients on windows connect to As400 Queue manager, please suggest.
Regards,
Mpong |
|
Back to top |
|
 |
exerk |
Posted: Wed Dec 12, 2012 6:58 am Post subject: Re: MQ Client connection to Queue Manager |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
mpong wrote: |
MQ client connects using environment variable on windows MQ server... |
Not a good idea as you cannot secure the channel(s) using SSL/TLS
mpong wrote: |
...can we take out this queue manager and make client directly connect to AS400 queue manager?... |
Yes
mpong wrote: |
...I want to know can MQ clients on windows connect to As400 Queue manager, please suggest. |
What, in your extensive reading of the Intercommunication and Clients manuals, suggests to you it can't? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Dec 12, 2012 6:59 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Yes you can. The connections details are similar and easily configured. AS400 may have conx limits. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
exerk |
Posted: Wed Dec 12, 2012 7:14 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
lancelotlinc wrote: |
Yes you can. The connections details are similar and easily configured. AS400 may have conx limits. |
Give a man a fish etc... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Dec 12, 2012 7:16 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
exerk wrote: |
lancelotlinc wrote: |
Yes you can. The connections details are similar and easily configured. AS400 may have conx limits. |
Give a man a fish etc... |
WORD ! _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
zpat |
Posted: Wed Dec 12, 2012 8:01 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Also consider the implications. Your windows app cannot send messages unless the AS400 QM is active.
If your client app is badly designed and continually reconnects to the QM, or continuously re-opens the queue, or repeatedly issues MQGET without a wait interval - it will now impact the AS400 QM and the network.
If the AS400 QM is restarted the windows app needs to re-connect automatically, or be manually restarted.
You are effectively tight-coupling the windows app to the AS400 - not necessarily a problem but.... |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Dec 12, 2012 8:08 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
zpat wrote: |
Also consider the implications. Your windows app cannot send messages unless the AS400 QM is active.
If your client app is badly designed and continually reconnects to the QM, or continuously re-opens the queue, or repeatedly issues MQGET without a wait interval - it will now impact the AS400 QM and the network.
If the AS400 QM is restarted the windows app needs to re-connect automatically, or be manually restarted.
You are effectively tight-coupling the windows app to the AS400 - not necessarily a problem but.... |
What this means...
Qmgr-to-qmgr connections (channel, applications) are more robust (reliable, faster) than client-connections. This true not just for as/400 qmgrs. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
zpat |
Posted: Wed Dec 12, 2012 8:26 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Well yes, but I was trying more to emphasise the other differences in having your own QM on the same host (as the app), and using a QM on a "remote" host.
Personally I like using fewer, more central (and more HA) queue managers, but the apps have to behave (in MQI terms) in a sensible way to safely use a QM that is shared with other clients apps. |
|
Back to top |
|
 |
|