Joined: 09 Aug 2001 Posts: 17 Location: Charlotte, NC
I am the recipient of MQSI produced datagram publishes entirely on an NT environment. The datagrams I receive have an MQMD header with format = MQHRF2 and encoding = MQC.MQENC_INTEGER_NORMAL (Big-endian). The MQHRF2 header in the message body has MQLONGs that are MQC.MQENC_INTEGER_REVERSED (Little-endian). If I have to deal directly with this mismatch, I can set the encoding before reading as in this example to get the RF2 header length:
requestMsg.seek(; requestMsg.encoding = MQC.MQENC_INTEGER_REVERSED;
int mQHRF2Length = requestMsg.readInt4();
However, when I am in a more restrictive situation such as using an MQAO adapter with it's own readers and formatters, I get errors like: 2119 MQRC_NOT_CONVERTED on the MQGET. I believe (but do not know) this may be related to the mismatch. If it is the MQAO dev. would insist that the MQSI dev. fix the datagram.
Have I misinterpreted all this or is MQSI building invalid datagrams?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum