Tuning messaging destinations for the WebSphere MQ messaging provider

You can optimize performance of message-driven bean (MDB) or other applications that use the WebSphere® MQ messaging provider by configuring the properties of WebSphere MQ messaging provider destinations.

About this task

To optimize performance, configure queue[z/OS] and topic destination properties in WebSphere Application Server and WebSphere MQ to best fit your applications.

Procedure

  • To optimize performance for WebSphere MQ queues, configure the queue destination properties to best fit your message-driven bean (MDB) or other applications that use the queue destinations.
    For example:
  • [z/OS]To optimize performance for WebSphere MQ topics, configure the topic destination properties to best fit your applications.
    For example:
    • To reduce the number of messages that can be queued, set the Expiry property to SPECIFIED and the Specified Expiry property to 30000 milliseconds for the expiry timeout for the WebSphere MQ queue in WebSphere Application Server.
    • To ensure that there are enough underlying WebSphere MQ resources available for the queue, ensure that you configure the queue destination properties adequately for your application usage:
      • Ensure that the queue attribute, INDXTYPE is set to MSGID for the following system queues:
        • SYSTEM.JMS.ND.CC.SUBSCRIBER.QUEUE
        • SYSTEM.JMS.D.CC.SUBSCRIBER.QUEUE
      • Ensure that the queue attribute, INDXTYPE is set to CORRELID for the following system queues:
        • SYSTEM.JMS.ND.SUBSCRIBER.QUEUE
        • SYSTEM.JMS.D.SUBSCRIBER.QUEUE

      For more information about using these properties, see the Using Java and Script (MQSC) sections in the WebSphere MQ documentation.