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 » MQ Program Stucked forever

Post new topic  Reply to topic Goto page Previous  1, 2
 MQ Program Stucked forever « View previous topic :: View next topic » 
Author Message
marcin.kasinski
PostPosted: Wed Apr 18, 2007 6:03 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

jefflowrey wrote:
When you set WAIT_UNLIMITED, your program will block until a message that satisfies the Get Options arrives.

It has nothing to do with whether the queue is empty or full.

If you set WAIT_UNLIMITED, and you match against a MsgId, and there is no way that a message with that MsgId will ever arrive on the queue, then your GET will never complete. The queue could be full, it could be empty, messages could come into the queue and leave again, and your GET will still be WAITing.



Yes, yes, yes.

It was my fault.

I think, that we have explained this misunderstanding.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
tleichen
PostPosted: Wed Apr 18, 2007 7:20 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

And you had better code the MQGMO_FAIL_IF_QUIESCING option, or the program could keep the queue manager from shutting down!
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ API Support » MQ Program Stucked forever
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.