Configuring connection pooling for JMS connections

You can customize the number of concurrent connections (default is 50) that can be created from a JMS connection factory. You can configure connection pooling for a specific JMS connection factory by defining the <connectionManager> element and then associate that element with the JMS connection factory in the server.xml file.

Example

The connectionManager element in the server.xml file is used to the connection pool for a JMS connection factory property as given in the following example. The connection pool size is also defined in the connectionManager element.
<jmsConnectionFactory id="jmscf1" 
	jndiName="jndi/example"
	connectionManagerRef="cm1">
	<properties.wasJms />
</jmsConnectionFactory>
<connectionManager id="cm1" maxPoolSize="10" minPoolSize="2" />

The server uses default values for any connection management settings that are not defined on the connectionManager element. If a connection manager is not defined for a connection factory, the server uses the default values for all the settings.

You can define multiple connection factories and associate each with a different connection manager. However, you cannot associate multiple connection factories with a single connection manager.

For more information about the connectionManager element, see Java Connector Architecture 1.7.


Icono que indica el tipo de tema Tema de tarea



Icono de indicación de fecha y hora Última actualización: Tuesday, 6 December 2016
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=twlp_msg_connpoolcfg_dup
Nombre de archivo:twlp_msg_connpoolcfg_dup.html