TPName

The TP Name function is used to change the LU62 TP name of the pool connection dynamically if required. In general, one WAS pool only supports one TP name. If you need to make one WAS pool support multiple LU62 TP for JCA LU62 Connector, you can use this function.

A new method public void setTpName(Stirng tpName) is added for class Lu62ConnectionSpec. Application sets Lu62ConnectionSpec instance as input parameter for connectionFactory.getConnection method and will get a connection from pool for the specified TP.

Upon request, the JCA LU62 will look for a existing free connection with same tpName from the pool at first. If there is no free connection for the requested tpName, the JCA LU62 connection factory will create a new connection for the tpName in the pool.

If the max connection limitation of the WAS pool is reached, the JCA LU62 will look for a free connection with a different TPName and change the tpNames of the connection dynamically for the requested TP. To change the TPName of the connection, the LU62 conversation of the connection will be re-established. We will not set connection number limitation parameter for a specific TP. In theory, the connection limitation of a TP name can be the max connection of WAS pool. The implementation can have a balance between the function and performance.