Creating and configuring connection factories and destinations for a JMS application
CICS® Java programs can create and configure connection factories and destinations.
- Using JNDI to retrieve administered objects
- Using the IBM® JMS extensions
- Using the IBM MQ JMS extensions
Most users of JMS use a JNDI repository to locate a pre-configured set of connection factories and destinations. CICS does not provide a JNDI implementation, and the use of LDAP is not possible in an OSGi environment.
For details of the available options, and an example of how to register an initial context factory and the IBM MQ object factories with OSGi using the start method of a bundle adaptor, see Creating and configuring connection factories and destinations.
The connection between CICS and a IBM MQ QMGR is policed using the user ID of the CICS address space. Resource access to a queue is authorized by the transaction user ID. Specifying a user ID and password with a connection factory is therefore not supported.