Is there an MQ/XMS equivalent for the MQ/JMS setTargetClient

前端 未结 1 900
一整个雨季
一整个雨季 2020-12-21 23:18

I have a XMS publish app, that is working, but it is including JMS headers as part of the message. My subscribe app is actually a python app, and I was wondering if it is po

相关标签:
1条回答
  • 2020-12-21 23:56

    Yes, you should be able to do this

    Try

    // Create destination
           destination = sessionWMQ.CreateTopic(conn.topic_name);
           destination.SetIntProperty(XMSC.WMQ_TARGET_CLIENT, XMSC.WMQ_TARGET_DEST_MQ);
    

    See: https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.1.0/com.ibm.mq.ref.dev.doc/prx_wmq_target_client.htm

    0 讨论(0)
提交回复
热议问题