Programming with IBM MQ classes for JMS in the CICS IBM MQ environment
CICS® Java™ programs may invoke various functions provided by the WebSphere® 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 JVM server as a Java EE compliant application server, that always has a JTA transaction in progress. In particular, the IBM MQ classes for JMS assume that they are running in an EJB container. This results in restrictions on the use of the JMS API in a CICS environment. For more details, see JMS API restrictions.
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 supports both JMS 1.1 and JMS 2.0.