error in example "How to wait for multiple messages" ?
Asked by
rafal polonski
Hi,
In the example "How to wait for multiple messages" message descriptor: md = pymqi.md() is not withing the loop code so when the script enters the loop he gets the first message and then each subsequent queue.get(None, md, gmo) will raise an exception:
MQMIError: MQI Error. Comp: 2, Reason 2033: FAILED: MQRC_NO_
If I understand properly to solve this error, message description code pymqi.md() just has to be withing the loop.
best regards,
rafal
P.S
Dariusz thank you very much for new releases of the pymqi and great updates to the documentation.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- PyMQI Edit question
- Assignee:
- Dariusz Suchojad Edit question
- Solved by:
- Dariusz Suchojad
- Solved:
- Last query:
- Last reply:
To post a message you must log in.