Commits all messages done in this transaction and releases any locks currently held.

Namespace:  Kaazing.JMS
Assembly:  Kaazing.JMS (in Kaazing.JMS.dll)

Syntax

Visual Basic
Sub Commit
C#
void Commit()
Visual C++
void Commit()

Exceptions

ExceptionCondition
Kaazing.JMS..::..JMSExceptionif the JMS provider fails to commit the transaction due to some internal error.
Kaazing.JMS..::..TransactionRolledBackExceptionif the transaction is rolled back due to some internal error during commit.
Kaazing.JMS..::..IllegalStateExceptionif the method is not called by a transacted session.

See Also