we have a RPGLE listener application that receives message request from local queue coming from
External system. Sequence flow are:
- MQConn
- MQOpen
- Loop to Get all messages using MQGet until it receives ‘*EOM’ request
- MQClose
May I get your insights on how handle the scenario if the listener job is manually ended with immediate end option? Thenresult is that all messages retrieved and processed during MQGet are all loaded back to local queue.
How to permanently commit those messages that are fetched already. Thank you in advance.
Ramon
Expert advise from the community.
Ramon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.