|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQClient Channel Connect & Disconnect |
« View previous topic :: View next topic » |
Author |
Message
|
lotusphilo |
Posted: Wed May 09, 2007 9:30 am Post subject: MQClient Channel Connect & Disconnect |
|
|
Voyager
Joined: 31 Mar 2004 Posts: 76
|
I have an WMQ application that is using MQ Client to connect to a z/os queue manager. Because the way the app is functioning it is causing a high number channel connects and disconnects. The Application is running on AIX 5.2.
How can we approach or how can we reduce the number of connect and disconnects? Fully implementing WMQ on the application server is not an option at this time.
thanks, |
|
Back to top |
|
 |
Toronto_MQ |
Posted: Wed May 09, 2007 10:39 am Post subject: |
|
|
 Master
Joined: 10 Jul 2002 Posts: 263 Location: read my name
|
Really, the only way to do this is to rewrite (ie. improve) the client code to do one MQCONN and one MQOPEN and then do all of its work with that handle.
If your solution has been architected to call MQCONN-MQOPEN-MQPUT/MQGET-MQCLOSE-MQDISC for each message, well then you will want to revisit that approach to stop the frequest connects/disconnects.
Steve |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 09, 2007 10:40 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Recode the application.
It should connect at start-up, do what it does for as long as it needs to do it, then disconnect. I would theorise it's been written as a single shot application that processes a single transaction on a single connection, giving you this high churn rate.
Failing that, you might be able to run it under some kind of application server solution that offers connection pooling. Lots of variables there...  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lotusphilo |
Posted: Thu May 10, 2007 4:54 am Post subject: |
|
|
Voyager
Joined: 31 Mar 2004 Posts: 76
|
|
Back to top |
|
 |
zpat |
Posted: Thu May 10, 2007 5:28 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
What language is the application written in? |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|