Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Integration Server Transaction Support | Specifying Transaction Support in Connections
 
Specifying Transaction Support in Connections
To support transactions in your adapter, return the appropriate transaction support level in your WmManagedConnectionFactory.queryTransactionSupportLevel implementation.
For local transaction support, override the WmManagedConnection.getLocalTransaction method to return a javax.resource.spi.LocalTransaction object that is capable of interfacing with the transactional capabilities of your resource.
For XA transaction support, override the WmManagedConnection.getXAResource method to return a javax.transaction.xa.XAResource object that is capable of interfacing with the XA transactional capabilities of your resource.
Important:
Do not call the super() method when you override getLocalTransaction or getXAResource.