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 » IBM MQ API Support » GET WAIT unlimited within Client appli - what are the risks?

Post new topic  Reply to topic
 GET WAIT unlimited within Client appli - what are the risks? « View previous topic :: View next topic » 
Author Message
KAKEZ
PostPosted: Fri Jul 18, 2003 1:13 am    Post subject: GET WAIT unlimited within Client appli - what are the risks? Reply with quote

Centurion

Joined: 10 Oct 2002
Posts: 117

Hi,

I have heard that it is not recommended to use MQGET wait unlimited within a client application in case where the communication between the server and the client is broken.
- what are the pbs arisen then?
- and what is recommended instead?
thanks for help.
Jack
Back to top
View user's profile Send private message
mqonnet
PostPosted: Fri Jul 18, 2003 2:21 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

MQGET with unlimited wait is NOT suggested only in the case where you are doing this within a UOW. But if you are NOT, then there is no problem with it.

In the event that there is a connection broken, you just get a 2009 from the get, thats it.

But if you know how things are going to be, design your get app with a limited timeout rather than unlimited. The alternative would be to wiat for a specified time limt and loop until you get a message, sort of polling. Not sure if this would help your scenario, but....


Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PeterPotkay
PostPosted: Fri Jul 18, 2003 7:16 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Either way code the Fail If Quiesing option on the Get, regardless of how long you do end up waiting. This way if the admin wants to stop the QM, it will force your Get to end with a RC saying the QM is coming down. Otherwise, your process could hold up the QM coming down cleanly.
_________________
Peter Potkay
Keep Calm and MQ On
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 » IBM MQ API Support » GET WAIT unlimited within Client appli - what are the risks?
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.