ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQClient Channel Connect & Disconnect

Post new topic  Reply to topic
 MQClient Channel Connect & Disconnect « View previous topic :: View next topic » 
Author Message
lotusphilo
PostPosted: Wed May 09, 2007 9:30 am    Post subject: MQClient Channel Connect & Disconnect Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
Toronto_MQ
PostPosted: Wed May 09, 2007 10:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed May 09, 2007 10:40 am    Post subject: Reply with quote

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
View user's profile Send private message
lotusphilo
PostPosted: Thu May 10, 2007 4:54 am    Post subject: Reply with quote

Voyager

Joined: 31 Mar 2004
Posts: 76

Thanks for your help.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
zpat
PostPosted: Thu May 10, 2007 5:28 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

What language is the application written in?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQClient Channel Connect & Disconnect
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.