KMXAQueueConnection Class Reference
Inherits from | KMQueueConnection : KMConnection : KCObject : NSObject |
Declared in | KMXAQueueConnection.h |
Instance Methods
createQueueSession:transacted:
Creates a QueueSession object.
- (KMQueueSession *)createQueueSession:(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 queue session
Exceptions
- KMJMSException
if the QueueConnection 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
KMQueueConnection.h