Determining the maximum number of connections allowed for the Adapter for IBM MQ
To determine the maximum number of ManagedConnections for the JCA-JMS connector, we must perform these steps on the WebSphere Commerce machine.
Procedure
- In the WebSphere Application Server Administrative Console navigation tree, expand Applications > Application Types and select WebSphere enterprise applications.
- In the list of enterprise applications, click WC_instance_name where instance_name is the name of the WebSphere Commerce instance.
- Under Modules, click Manage Modules.
- In the list of connector modules, click Adapter for IBM MQ. The Enablement-JCAJMSConnector.rar page displays.
- In the Additional Properties section on the Enablement-JCAJMSConnector.rar page, click Resource Adapter. The WC_instance_name.Adapter for IBM MQ page displays, where instance_name is the name of the WebSphere Commerce instance.
- In the Additional Properties section of the WC_instance_name.Adapter for IBM MQ page, click J2C Connection Factories. The J2C Connection Factories page displays.
- In the list of J2C Connection Factories, click Enablement-JCAJMSConnector.rar. The Enablement-JCAJMSConnector.rar page displays.
- In the Additional Properties section on the javax.resource.cci.ConnectionFactory page, click Connection Pool Properties. The Connection Pools page displays.
- Take note of the value in the Max connections field. This value will be required in Creating an IBM MQ messaging provider queue connection factory.
- Ensure that the Purge Policy is set to failingConnectionOnly. Important: If you change the value of the maximum number of this connection pool for the Adapter for IBM MQ later, we must also change the value of the maximum number of connections defined for JMSQueueConnectionFactory under Queue connection factories.
Previous topic: Enable the ActivitySession service
Next topic: Creating an IBM MQ messaging provider queue connection factory