Inherits from KMSession : KCObject : NSObject
Declared in KMXASession.h

Overview

Copyright © 2007-2013, Kaazing Corporation. All rights reserved.

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

transacted

Indicates whether the session is in transacted mode.

- (BOOL)transacted

Return Value

true if the session is in transacted mode

Exceptions

KMJMSException

if the JMS provider fails to return the transaction mode due to some internal error.

Declared In

KMSession.h