Programming with IBM MQ classes for JMS in the CICS IBM MQ environment
CICS® Java™ programs may invoke various functions provided by the IBM® MQ classes for JMS. The IBM MQ classes for JMS form part of the JMS-compliant IBM MQ offering.
From the perspective of the JMS specification, the IBM MQ classes for JMS treat a CICS Liberty JVM server as a Java EE compliant application server, with no JTA transaction in progress. In an integrated-mode Liberty server, the Java Transaction API (JTA) UserTransaction interface should be used to ensure messages sent and received by the IBM MQ classes for JMS are associated with the CICS UOW.
Support is provided for using the classic (JMS 1.1) and simplified
(JMS 2.0) interfaces, provided
that
CICS
is connected to a level of
IBM MQ
queue manager that supports the
appropriate level of JMS and is using a suitable version of the
IBM MQ
classes for JMS.
Note:
WebSphere®
MQ for
z/OS®
version 7.1 only supports JMS 1.1 whereas
IBM MQ
Version 8.0 and above support both
JMS 1.1 and JMS 2.0.