Handling messages greater than 4 MB long
Messages can be too large for the application, queue, or queue manager. Depending on the environment, WebSphere MQ provides a number of ways of dealing with messages that are longer than 4 MB.
On all WebSphere MQ V6 systems, we can increase the MaxMsgLength attribute, up to 100 MB. Set this value to reflect the size of the messages using the queue. On WebSphere MQ V6 systems other than WebSphere MQ for z/OS, we can also:
- Use segmented messages. (Messages can be segmented by either the application or the queue manager.)
- Use reference messages.
Each of these approaches is described in the remainder of this section.
Parent topic:
Writing a WebSphere MQ application
fg12670_