We are using JmsTemplate to send messages to an IBM MQ's local queue. We set MQMD property MsgType to 1, but when viewing the message header from the queue, the value is interpreted as MQMT_SYSTEM_FIRST instead of MQMT_REQUEST. Why is that? Is this the reason why the other party's system cannot return the reply message?
We are doing debugging with another system. According to their feedback, they checked our message header in the queue like this. enter image description here
But based on past experience, our message should look like this (Please focus only on the MsgType field). enter image description here And there is no clue as to why these two different situations occur. Their values are both 1, but MQMT_SYSTEM_FIRST and MQMT_REQUEST are displayed respectively.
MQMT_SYSTEM_FIRST
andMQMT_REQUEST
are defined as value1
. This is not an error, but because they are used for different purposes. In the same way the days of the week may be coded 1-7, and months of the year 1-12. – chughtsMQMT_REQUEST
– chughtsMQMT_SYSTEM_FIRST
. If the other system is interpreting it asMQMT_SYSTEM_FIRST
, then that is an error. – chughts