WebSphere Application Server Network Deployment, Version 6.0.x   Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
             [TIP: Focusing the table of contents and search results]

Configuring WebSphere MQ connection pooling

Browse or change properties of WebSphere MQ connection pooling for JMS connections from an application server to WebSphere MQ as a JMS provider.

About this task

Support for connection pooling does not affect the performance of a message listener, because it retains its connections while listening on a destination, but does affect the overall JMS system performance. When a connection is no longer required, WebSphere MQ can pool the connection then reuse it later instead of destroying it.

Note: This support is only available for use with WebSphere MQ as a JMS provider.

To enable WebSphere MQ connection pooling for an application server, use the administrative console to complete the following steps:

Procedure

  1. Display the Message Listener Service properties for the application server
    1. In the navigation pane, click Servers > Application Servers
    2. In the content pane, click the name of the application server.
    3. Under Additional Properties, click Message Listener Service properties.
  2. Select Custom Properties, to enable WebSphere MQ connection pooling, add the following custom properties:
    mqjms.pooling.threshold
    The maximum number of unused connections in the pool.
    mqjms.pooling.timeout
    The timeout in milliseconds for unused connections in the pool.
  3. Click OK.
  4. Save any changes to the master configuration.
  5. To have the changed configuration take effect, stop then restart the application server.

What to do next

For additional information, see the books in the WebSphere MQ library
http://www-306.ibm.com/software/integration/wmq/library/



Related concepts
Asynchronous messaging using JMS - overview
Related tasks
Configuring JMS resources for the WebSphere MQ messaging provider
Task topic    

Terms of Use | Feedback

Last updated: Mar 8, 2007 8:14:28 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tmj_mqcon.html

© Copyright IBM Corporation 2002, 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)