Maximum message length (MAXMSGL)

This attribute specifies the maximum length of a message that can be transmitted on the channel.

On IBM® MQ for IBM i, UNIX systems, and Windows systems, specify a value greater than or equal to zero, and less than or equal to the maximum message length for the queue manager. See the MAXMSGL parameter of the ALTER QMGR command in ALTER QMGR for more information.

[z/OS]On IBM MQ for z/OS®, specify a value greater than or equal to zero, and less than or equal to 104 857 600 bytes (that is, 100 MB).

Because various implementations of IBM MQ systems exist on different platforms, the size available for message processing might be limited in some applications. This number must reflect a size that your system can handle without stress. When a channel starts, the lower of the two numbers at each end of the channel is taken.

By adding the digital signature and key to the message, IBM MQ Advanced Message Security increases the length of the message.

Note:
  1. You can use a maximum message size of 0 which is taken to mean that the size is to be set to the local queue manager maximum value.

This attribute is valid for all channel types.