Can the application process messages fast enough?

If messages are building up on the queue, and there are none of the processing problems that are described in the previous sections, it might simply be that the application cannot process messages fast enough. If the application is a channel, see Can the channel process messages fast enough?.

To determine whether messages are being processed fast enough, do the following:

  1. Issue the following command periodically to gather performance data about the queue:

    DISPLAY QSTATUS(Q1) TYPE(QUEUE) ALL
    If the values in the QTIME indicators are high, or are increasing over this period, and you have already ruled out the possibility of long running Units of Work as discussed in Are the messages on the queue available?, this can indicate that the getting application is not keeping up with the putting applications.

  2. If your getting application cannot keep up with the putting applications, consider adding another getting application to process the queue. Whether we can do this depends on the design of the application and whether the queue can be shared by more than one application. Features such as message grouping or getting by correlation ID, might help to ensure that two applications can process a queue simultaneously. See WebSphere MQ Application Programming Guide for more details.