Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Transaction Semantics | Using Broker Transaction Clients | Ending a Transaction | Committing a Transaction
 
Committing a Transaction
Use the commit method to commit an open transaction, or use the commitAll method to commit a given list of open transactions.
Note that all work performed on these transactions will be finalized. The following example contains an excerpt that shows the use of the commit method.
. . .
// commit transaction
try {
pub.commit();
} catch (BrokerException ex) {
System.out.println ("Error on commit" +ex);
return;
}
}
. . .