Setting WMQ_MDCTX_SET_IDENTITY_CONTEXT impact the COD message

不羁的心 提交于 2019-12-04 20:52:12

Looks like the COD message is ending up in Queue managers dead letter queue(DLQ). Have you defined a DLQ for your queue manager? If it is defined, please check that DLQ.

The reason for COD message ending up in DLQ could be because of insufficient user authority. Please check this link: http://www-01.ibm.com/support/docview.wss?uid=swg1IZ76359.

Setting a valid user identifier while sending the message should help. I tried with MQ v8 and I could see COD message being put to a reply queue I specified while sending the message.

requestMessage.setStringProperty(JmsConstants.JMS_IBM_MQMD_USERIDENTIFIER, "<valid user id>");
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!