KB Article #44549
XIB 2.1.1 - Override Message Id in MQ?
Problem
Resolution
overriding the settings in the MQ connector from my MBC. It work's fine, but I can't override the Message Id!
DECLARE $mqIdtMsgId RECORD TA_MQ.MQSendMethod_IdtMsgId;
$mqOverride.$Use_IdtMsgId = $True;
$mqIdtMsgId.$Predefined= ???
$mqIdtMsgId.$Custom= ???
$mqOverride.$IdtMsgId = $mqIdtMsgId;
Resolution
We can override the messageId through the following MB code.
$mqOverride.$Use_IdtMsgId = $True;
$mqIdtMsgId.$Predefined="SetMsgId";
$mqIdtMsgId.$Custom=$GeneralMessageAttribute.$CorrelationId;
$mqOverride.$IdtMsgId = $mqIdtMsgId;