Python Forum
pymqi and group id (MQ)
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pymqi and group id (MQ)
#1
Hi,

I am not able or too stupid to set the group id for webshere MQ.
Example code:

import pymqi
qmgr = pymqi.connect("MQ_TT", "MY.CLIENT", "10.33.444.55(1420)", "tt", "tt")
queue = pymqi.Queue(qmgr, "TT_QUEUE")
mqmd = pymqi.MD()
mqmd['MsgFlags'] = pymqi.CMQC.MQMF_MSG_IN_GROUP
mqmd["GroupId"] = "thomasg"
mqmd["CorrelId"] = "thomasc"
mqmd["MsgId"] = "thomasm"
queue.put("test", mqmd)
Correlation Id and message id is set, group id is 0.
Is this a bug? Or is something missing?

Using spring-python jms_template and TextMessage also dont set the group id.

Regards Thomas
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  pymqi user/password ThomasT 1 2,664 Feb-01-2019, 12:38 PM
Last Post: MDK
  Looking for IBM MQ client for MAC to go with PyMQi georgelza 1 2,996 May-08-2018, 03:04 PM
Last Post: georgelza

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020