Posted: Fri Feb 21, 2003 12:42 am Post subject: MQClient - How can I unlock an mqi call after a certain time
Newbie
Joined: 20 Feb 2003 Posts: 1 Location: Belgium
Situation:
An application running on an MQClient 5.2 (NT) is connected to a remote qmgr MQServer 5.2 (NT) via an srvconn channel. The application puts message to a queue defined on this qmgr. When the mqput takes to much time, the application wants to get control back and continue with his processing. It wants to use the same connection handle to continue its mq processing after this kind of "timeout".
Question:
How can I interrupt an MQ call when it takes to much time? After x seconds.
Is there a specific option that exists to indicate that an mq call may not take more than x seconds?
Can we work with options or exits on the client connection channel, to achieve this?
We already managed to interrupt an mq call after 10 seconds, in case of network problems. We realized this by specifying a HBINT of 5 seconds on the connection channel.
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