KMXASession Class Reference
Tasks
-
– transacted
Indicates whether the session is in transacted mode.
-
– commit
Commits all messages done in this transaction and releases any locks currently held.
-
– rollback
Rolls back any messages done in this transaction and releases any locks currently held.
Instance Methods
commit
Commits all messages done in this transaction and releases any locks currently held.
- (void)commit
Exceptions
- KMJMSException
if the JMS provider fails to commit the transaction due to some internal error.
- KMTransactionRolledBackException
if the transaction is rolled back due to some internal error during commit.
- KMIllegalStateException
if the method is not called by a transacted session.
Declared In
KMSession.h
rollback
Rolls back any messages done in this transaction and releases any locks currently held.
- (void)rollback
Exceptions
- KMJMSException
if the JMS provider fails to roll back the transaction due to some internal error.
- KMIllegalStateException
if the method is not called by a transacted session.
Declared In
KMSession.h