I am trying to write a simple string message to a queue. The property MaxMsgLengthfor the queue is set to 4 kb. Post has 2700 characters, and when I try to put in place, I get an exception in 2030 (07EE) (RC2030): MQRC_MSG_TOO_BIG_FOR_Q. I do not do any special kind of coding, and therefore everything that is by default for Windows should be used.
MaxMsgLength
MQRC_MSG_TOO_BIG_FOR_Q
I want to know how to determine the value that I must provide in a property MaxMsgLength. How to calculate this.
, MaxMsgLength, , , , . Infocenter MQ_* (String Lengths) MQ_MSG_HEADER_LENGTH, , MQMD 4000 . , MaxMsgLength 4k, 96 . , MQXQH.
MQ_* (String Lengths)
MQ_MSG_HEADER_LENGTH
MQXQH
, MaxMsgLength . , . "" API MQInq. MQMD, ( XML, , API, ), , RFH2 ( ), MQXQH, MQDLQ ..
MQInq
MQMD
RFH2
MQDLQ
, . , C, BufferLength, MQPUT.
IBM MQ InfoCenter , 2030 .
Source: https://habr.com/ru/post/1538144/More articles:Why write O AS INT and not write (INT) O - c #How to use the "extern template" with a nested class that is used by the template in the same class? - c ++Получение документа с максимальным размером внутреннего массива в MongoDB - mongodbMassive Multiplication by OpenCV Elements - c ++How to integrate batch requests in the Rails API? - restHow to edit an existing table with EPPlus - .netCombine two button elements as one - javascriptNetBeans: how to add library from Maven repository for non-maven project - javaTime Tracking in TFS Using VS2013 - tfsoptional python arguments without a dash, but with extra parameters? - pythonAll Articles