Appendix C: Changing Size Limits for IBM Websphere MQ

Default size limit for an individual queue for IBM Websphere MQ is 4,194,304 bytes. This can be set up to a maximum size limit of 104,857,600 bytes. The error message shown below is thrown if the size of the message sent exceeds the size limit:

2010 MQRC_DATA_LENGTH_ERROR

The maximum size limit, attribute MAXMSGL/user interface field name Maximum message length (bytes), needs to be increased to a large enough value (maximum 104,857,600 bytes), not only on the queue, but on all the following objects:

  • SVRCONN channel
  • CLNTCONN channel
  • Queue Manager
  • Queue