Olja Rastic-Dulborough has written an article that introduces the user to the concepts of local transactions using IBM MQ and JMS.
https://developer.ibm.com/components/ibm-mq/articles/an-introduction-to-local-transactions-using-mq-and-jms/
Regards,
Roger Lacroix
Capitalware Inc.