Hi,
I have a simple piece of code as follows in which I am trying to test the commit/backout of messages put on the queue. It seems that inspite of doing a QueueManager.ba ckout(), the message still seems to be on the queue. Please advice.
I have a simple piece of code as follows in which I am trying to test the commit/backout of messages put on the queue. It seems that inspite of doing a QueueManager.ba ckout(), the message still seems to be on the queue. Please advice.
Code:
import pymqi queueMgr = pymqi.QueueManager(None) mqCd = pymqi.cd() qManager = 'T1.THS.QM' qName = 'QL.SQ._MONDO__INPUT.01' qChannel = 'SYSTEM.TESTS.SVRCONN' qPort = 'ARCADE(1600)' queueMgr.connectTCPClient(qManager, mqCd, qChannel, qPort) mqQuery = pymqi.Queue(queueMgr, qName) queueMgr.put1(qName,"Test") queueMgr.backout() queueMgr.disconnect()
Comment