Use separate QCF and TCF for MDBs

 

Each MDB's listener port is associated to a QCF or TCF. The connection factory objects hold the connection and session pools for accessing the messaging system. When configuring the sizes of these pools there always have to be enough sessions and connections available to allow all parts of the application to access the messaging system at peak load. The more variants there are in working out this peak load the harder it is to get the correct figures for the size of the pools.

The number of connections and sessions that are needed by each listener port on an appserver can be calculated. The number of connections and sessions used by the Web and EJB container cannot be calculated in the same way as it is reliant on the type and spread of workload, which can vary considerably. Only a percentage of requests that arrive at the Web or EJB container will need to use JMS, unlike the listener port where 100% of requests (messages) need to use JMS.

Creating a separate QCF or TCF definition that will only be used by MDBs means that:

For each QCF or TCF associated to a listener port:

 Prev | Next

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.

 

Tivoli is a trademark of the IBM Corporation in the United States, other countries, or both.