Skip to content

Instantly share code, notes, and snippets.

@SeyfSV
Created June 5, 2020 20:06
Show Gist options
  • Save SeyfSV/86bed7224a8b40cfab81ac182affde63 to your computer and use it in GitHub Desktop.
Save SeyfSV/86bed7224a8b40cfab81ac182affde63 to your computer and use it in GitHub Desktop.
def test_gh192(self):
put_mqmd = pymqi.md()
put_mqmd.Format = pymqi.CMQC.MQFMT_STRING
put_opts = pymqi.pmo()
# Set the MsgType to request.
# put_mqmd["MsgType"] = CMQC.MQMT_REQUEST
put_mqmd["MsgId"] = b'00002Y0001T1'
put_mqmd["CorrelId"] = b'00002Y0001T2'
put_opts = pymqi.PMO(Options=pymqi.CMQC.MQPMO_NO_SYNCPOINT
+ pymqi.CMQC.MQPMO_FAIL_IF_QUIESCING
#+ pymqi.CMQC.MQRO_PASS_CORREL_ID
)
self.queue.put(b'', put_mqmd, put_opts)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment