- All Known Subinterfaces:
TransactionalConnection,XATransactionalConnection
Base contract for a component which can participate in a transaction
- Since:
- 1.0
-
Method Summary
-
Method Details
-
begin
void begin() throws org.mule.runtime.api.tx.TransactionExceptionBegins the transaction- Throws:
org.mule.runtime.api.tx.TransactionException- if the transaction fails to begin
-
commit
void commit() throws org.mule.runtime.api.tx.TransactionExceptionCommits the transaction- Throws:
org.mule.runtime.api.tx.TransactionException- if the transaction fails to commit
-
rollback
void rollback() throws org.mule.runtime.api.tx.TransactionExceptionRolls the transaction back- Throws:
org.mule.runtime.api.tx.TransactionException- if the transaction fails to roll back
-