IBM MQ 关联 ID 长度限制问题
我正在使用 .net 客户端发送和接收 IBM MQ 消息。
我正在 MQMessage 下设置相关 id 属性来发送和接收。当相关 ID 长度很小时(准确地说是 24 个字符)时,我能够向队列发送消息,但当它超过 24 个字符时,会出现错误。
我阅读了 IBM 文档,发现了这个
https://www.ibm.com/docs/en/iis/9.1?topic=properties-hex-correlation-id
https://www.ibm.com/docs/en/iis/9.1?topic=properties-value-correlation-id
为了支持 48 个字符的十六进制相关 ID,我需要设置 'Hex ' 属性为 true,默认为 false。
但不确定如何设置 Hex 属性。
I am using the .net client to send and receive IBM MQ messages.
I am setting the correlation id property under MQMessage to send and receive. I am able to send a message to the queue when the correlation id length is small(Accurately 24 characters) but giving me an error when it is more than 24.
I read the IBM documentation and found this
https://www.ibm.com/docs/en/iis/9.1?topic=properties-hex-correlation-id
https://www.ibm.com/docs/en/iis/9.1?topic=properties-value-correlation-id
In order to support Hexadecimal correlation ID of 48 characters i need to set 'Hex' property to true which is by default false.
But not sure how to set up Hex property.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论