|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
MQ Program Stucked forever |
« View previous topic :: View next topic » |
Author |
Message
|
marcin.kasinski |
Posted: Wed Apr 18, 2007 6:03 am Post subject: |
|
|
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 |
|
 |
tleichen |
Posted: Wed Apr 18, 2007 7:20 am Post subject: |
|
|
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 |
|
 |
|
|
|
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
|
|
|
|