ibm-messaging / mq-golang

Calling IBM MQ from Go applications
Apache License 2.0
168 stars 60 forks source link

Unprocessed Messages #177

Closed 2020testuser closed 9 months ago

2020testuser commented 3 years ago

Hi, Could anyone please shed some light on the below?

  1. I have a non-persistent message and I have the WAIT INTERVAL set to 6000 milliseconds. Not all messages are read from the queue and some of the messages are missing when I check the golang program log file.

  2. If I increase the wait interval, will I be able to read all the messages? If not, is there any sleep() that I can use before I open the QueueMgr?

  3. If the QueueMgr is closed and disconnected by my golang program, will all the unread messages in the queue be removed? Any information would be very useful as I'm new to MQ and not sure why I'm missing some of the messages. Thanks in advance!