Set WebSphere MQ connection pooling
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.
This support is only available for use with WebSphere MQ as a JMS provider.
To enable WebSphere MQ connection pooling for an appserver...
- Go to...
Servers | Server Types | WebSphere application servers | server_name | Additional Properties | Message Listener Service properties | Custom Properties
- Add the following custom properties...
- mqjms.pooling.threshold
- Maximum number of unused connections in the pool.
- mqjms.pooling.timeout
- Timeout in milliseconds for unused connections in the pool.
- Click OK.
- Save any changes to the master configuration.
- Restart the appserver
 
Related concepts
Asynchronous messaging using JMS - overview
Related tasks
Set JMS resources for the WebSphere MQ messaging provider
Related
WebSphere MQ library