Commits all messages done in this transaction and releases any locks
currently held.
Namespace:
Kaazing.JMSAssembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Sub Commit |
| C# |
|---|
void Commit() |
| Visual C++ |
|---|
void Commit() |
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to commit the transaction due to some internal error. |
| Kaazing.JMS..::..TransactionRolledBackException | if the transaction is rolled back due to some internal error during commit. |
| Kaazing.JMS..::..IllegalStateException | if the method is not called by a transacted session. |