I have to get message from MQ, and use below options: MQGetMessageOptions MQgmo = new MQGetMessageOptions();
MQgmo.options =
MQC.MQGMO_BROWSE_NEXT |
MQC.MQGMO_FAIL_IF_QUIESCING |
MQC.MQGMO_CONVERT;
MQgmo.matchOptions = MQC.MQGMO_NONE;
It works well in Domino 7.0 and MQ Client v6. But after version up to Domino v8.5.2 and MQ Client v7, the first MQMessage is OK(only has half-size characters), but the second MQMessage goes to garbling(has half-size and full-size characters), however, the 3rd and after MQMessages(have both half-size and full-size characters) are all ok.
After I add the option “MQGMO_ACCEPT_TRUNCATED_MSG”, all MQMessages are ok.
Why the second MQMessage(the first MQMessage that have full-size characters) goes to garbling after version up to Domino v8.5.2 and MQ Client v7, and why the option “MQGMO_ACCEPT_TRUNCATED_MSG” can fix this?
What’s more ,the MaxMsgLength (MAXMSGL) on the channel is 4194394, and use MQGetProcess.MQq.get(MQMsg, MQgmo, 2000000) to get MQMessage.