SessionMode


Enumeration

Declaration

enum SessionMode 

Purpose

Enumerate constants associated with sessions.

(Sheet 1 of 2)

Members
Description
SessionTransacted
The IsTransacted property has this value if the session uses transaction semantics.
Acknowledge Modes
AutoAcknowledge
In this mode, the session automatically acknowledges a message when message processing is finished—that is, in either of these methods returns successfully:
  • synchronous Receive call
  • asynchronous listener handler
ClientAcknowledge
In this mode, the client program acknowledges receipt by calling Message.Acknowledge . Each call acknowledges all messages received so far.
DupsOkAcknowledge
As with AutoAcknowledge, the session automatically acknowledges messages. However, it may do so lazily. Lazy means that the provider client library can delay transferring the acknowledgement to the server until a convenient time; meanwhile the server might redeliver the message. Lazy acknowledgement can reduce session overhead.
ExplicitClientAcknowledge
As with ClientAcknowledge, the client program acknowledges receipt by calling Message.Acknowledge . However, each call acknowledges only the individual message. The client may acknowledge messages in any order.
This mode and behavior are proprietary extensions, specific to TIBCO EMS.
ExplicitClientDupsOkAcknowledge
In this mode, the client program lazily acknowledges only the individual message, by calling Message.Acknowledge . The client may acknowledge messages in any order.
Lazy means that the provider client library can delay transferring the acknowledgement to the server until a convenient time; meanwhile the server might redeliver the message.
This mode and behavior are proprietary extensions, specific to TIBCO EMS.
NoAcknowledge
In this mode, messages do not require acknowledgement (which reduces message overhead). The server never redelivers messages.
This mode is available for topic sessions only.
This mode and behavior are proprietary extensions, specific to TIBCO EMS.


TIBCO Enterprise Message Service™ .NET Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com