MQSimpleConnectionManager

 

public final class MQSimpleConnectionManager
extends Object
implements MQConnectionManager

java.lang.Object
   |
   +----com.ibm.mq.MQSimpleConnectionManager
          

An MQSimpleConnectionManager provides basic connection pooling function. We can use an MQSimpleConnectionManager either as the default connection manager, or as a parameter to an MQQueueManager constructor. When an MQQueueManager is constructed, the most recently used connection in the pool is used. Connections are destroyed by a separate thread when they are unused for a specified period, when there are more than a specified number of unused connections in the pool, or when the maximum number of connections has been reached and room must be made for new connections. We can specify the timeout period, the maximum number of managed connections, and the maximum number of unused connections.


uj15460_