Committing a unit of work involving WebSphere MQ requests
Messages sent and received by the WebSphere® MQ classes for Java™ in a CICS® JVM server environment are always associated with the CICS unit of work (UOW).
The UOW can only be completed by calling the commit or rollback methods on the com.ibm.cics.server.Task object, or by the CICS task ending normally, in which case the UOW is implicitly committed. Use of the transaction control methods on MQQueueManager is not supported.
For a mixed language application, an EXEC CICS SYNCPOINT command issued from a non- Java program will commit the whole unit of work, including the updates made to IBM MQ by a Java program.