Using IBM MQ classes for JMS work in the CICS Liberty IBM MQ environment
When a CICS® Java application makes JMS requests, the requests are processed by the MQ messaging provider.
In a
CICS
environment, the
IBM® MQ
classes for JMS allow connections
to be made as follows:
- In a CICS standard-mode Liberty JVM server JMS applications can connect to a queue manager using either bindings or client mode transports.
- In a CICS integrated-mode Liberty JVM server JMS applications can only connect to a queue manager using client mode MQ transport. The use of bindings mode is not supported.
When using a bindings mode transport:
-
Any work submitted to the
CICSExecutorServiceusing therunAsCICS()method that work must not include any JMS requests. - The queue manager used must be different to the queue manager specified on any CICS MQCONN resource installed in the CICS region hosting the Liberty JVM server.
To use a specific level of JMS, CICS must be connected to an IBM MQ queue manager that supports the appropriate level of JMS. For more information, see WebSphere Application Server Liberty and the IBM MQ resource adapter.