Hello,
I am facing the following situation and I am not sure if it worked correctly or not from the mainframe MQ manager perspective.
0. The customer Java application acts in POST/PICK mode.
1. The message was posted to the shared local queue.
2. A Listener of that MQ (which is the same application), picked the message up for processing.
3. Error message appeared in the application log:
Message : com.ibm.mq.MQException: JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2161' ('MQRC_Q_MGR_QUIESCING').
4. After the application was reconnect to the Queue Sharing Group the same message was picked up and processed again.
It seems that unfinished MQGET was rolled back on the mainframe MQ manager side but completed on the application side.
Question(s):
a) Is this behavior correct?
b) Why "STOP QMGR MODE(QUIESCE)" did not allow to complete the transaction on both sides?
c) What exactly is expected to be done by the application in case of above mentioned fail happenning?
Thank you very much for your statement(s)!
Best regards,
Radek
------------------------------
Radek Vanek
IT Specialist for zSeries IBM MQ, DB2 & DBA
IBM Certified Specialist & Database Administrator
IBM Client Innovation Centre Brno Czech Republic
Email:
Radek_Vanek@cz.ibm.com------------------------------