Transactionality in mediations

You can configure a mediation handler to run within a global transaction.

A global transaction is required when:

Setting the Global transaction property ensures transactional integrity between a mediation that accesses the resources owned by other resource managers, and the messaging engine.

A global transaction encompasses all the mediation operations that are run within the bus for the duration of the mediation. The global transaction ends when the mediation completes its processing.

Whether the Global transaction property is set to True or False, a mediation either performs all its operations on a message, or none of them.

If a mediation transaction rolls back, all transactional changes also roll back. When the transaction rolls back, the mediated message remains on the pre-mediated part of the bus destination and becomes eligible to be mediated again. The re-delivery count assigned to a message increments each time a mediation transaction rolls back. If the re-delivery count exceeds the limit configured for the bus destination, the message is sent to the exception destination.

You specify the transactional context of a mediation handler by setting the Global transaction property to True by using the administrative console. The default value is False, and a global transaction is not started. You can also configure individual messaging operations to run outside the global unit of work.




Related concepts
Destination security
Related tasks
Configuring mediations
Concept topic Concept topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 3:08:41 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-zos&topic=cjp0022_
File name: cjp0022_.html