Adapter Development Kit 9.12 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Integration Server Transaction Support | Built-In Services For Explicit Transactions
 
Built-In Services For Explicit Transactions
 
pub.art.transaction:startTransaction
pub.art.transaction:commitTransaction
pub.art.transaction:rollbackTransaction
pub.art.transaction:setTransactionTimeout
Use the built-in services described in this section to manage explicit transactions for your Adapter Development Kit services.
Explicit transactions are transactions that is manually controlled within flow services using built-in services. Implicit transactions are automatically handled by the Integration Server's transaction manager. When you define an explicit transaction, it is nested within the implicit transactions that are controlled by the transaction manager. You can have more than one explicit transaction defined within an implicit transaction. You can also nest explicit transactions within each other.
Any flow service steps found between a pub.art.transaction:startTransaction service and either a pub.art.transaction:commitTransaction service or a pub.art.transaction:rollbackTransaction service are part of an explicit transaction rather than the implicit transaction.
Within both implicit and explicit transactions, you cannot have multiple connections with a transaction type of LOCAL_TRANSACTION because you will not be able to rollback the first LOCAL_TRANSACTION after it is committed. Use the built-in services to define explicit transactions to prevent from inadvertently committing transactions if you need to rollback the transaction.
The table below briefly describes the public services in Integration Servers' WmART package. The sections that follow describe each service in detail.
Service
Function
Starts an explicit transaction.
Commits an explicit transaction.
Rolls back an explicit transaction.
Enables you to manually set a transaction timeout interval for implicit and explicit transactions.