BizTalk发送端口MQSeries问题,如何设置MQMD_Report值以接收COA和COD [英] BizTalk send port MQSeries issue with how to set MQMD_Report values in order to receive COA and COD
问题描述
你好,
我正面临一个问题 指定 在我的邮件标题中 MQMD_REPORT的值 按顺序 接受COA和COD MSG 在biztalk orchestration中。
我构建了我的消息并且 我在通过我的发送端口向MQSeries发送消息之前指定我的msgId和corrId
但我无法指定 我想收到COA和COD 通过MQMD_Report。
我可以随便使用 MQSeries.MQMD_REPORT = MQRO_COA
该属性 MQSeries.MQMD_REPORT需要Int 但  I 找不到价值观 COA和COD。
任何帮助 拜托?
您好,
这很容易做到:
请参阅下面的示例构建消息时的消息分配形状msgSiebel_Out:
msgSiebel_Out(MQSeries.MQMD_Report)=(System.UInt32)IBM.WMQ.MQC.MQRO_COA;
msgSiebel_Out(MQSeries.MQMD_Report)=(System.UInt32)IBM.WMQ.MQC.MQRO_COD;
msgSiebel_Out(MQSeries.MQMD_Report)=(System.UInt32)IBM.WMQ .MQC.MQRO_COPY_MSG_ID_TO_CORREL_ID;
您需要添加C:\Program Files \IBM \WebSphere MQ \ bin \参考文献中的amqmdnet.dll。
祝你好运!
Hello,
i am facing an issue to specify in my Message header values for MQMD_REPORT in in order to receive COA and COD MSG in biztalk orchestration.
i construct my message and i specify my msgId and corrId before sending message ton MQSeries via my send port.
but i can not specify that i want to receive COA and COD via MQMD_Report.
i can noy use MQSeries.MQMD_REPORT= MQRO_COA
the property MQSeries.MQMD_REPORT require an Int but i can not find the values for COA and COD.
any help please?
解决方案Hello,
It is very easy to do:
See example below for your Message Assignment shape when constructin the message msgSiebel_Out:
msgSiebel_Out(MQSeries.MQMD_Report) = (System.UInt32)IBM.WMQ.MQC.MQRO_COA;
msgSiebel_Out(MQSeries.MQMD_Report) = (System.UInt32)IBM.WMQ.MQC.MQRO_COD;
msgSiebel_Out(MQSeries.MQMD_Report) = (System.UInt32)IBM.WMQ.MQC.MQRO_COPY_MSG_ID_TO_CORREL_ID;
You need to add C:\Program Files\IBM\WebSphere MQ\bin\amqmdnet.dll in references.
Good luck!
这篇关于BizTalk发送端口MQSeries问题,如何设置MQMD_Report值以接收COA和COD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!