KMXAConnection Class Reference
Inherits from | KMConnection : KCObject : NSObject |
Declared in | KMXAConnection.h |
Instance Methods
createSession:transacted:
Creates a Session object.
- (KMSession *)createSession:(int)acknowledgeMode transacted:(BOOL)transacted
Parameters
- acknowledgeMode
indicates whether the consumer or the client will acknowledge any messages it receives; ignored if the session is transacted. Legal values are KMSessionAutoAcknowledge, KMSessionClientAcknowledge, and KMSessionDupsOKAcknowledge.
- transacted
indicates whether the session is transacted
Return Value
a newly created session
Exceptions
- KMJMSException
if the Connection object fails to create a session due to some internal error or lack of support for the specific transaction and acknowledgement mode.
See Also
Declared In
KMConnection.h