TIBCO Enterprise Message Service 4.3.0 .NET Client Class Library

SessionMode Enumeration

Definitions of the session's acknowledge modes as enum

public enum SessionMode

Remarks

For complete details, see the corresponding item in the book TIBCO Enterprise Message Service .NET Reference.

Members

Member Name Description
SessionTransacted The session is transacted. This value will be returned by a query on Session's acknowledge mode if the session is transacted.
AutoAcknowledge Automatic acknowledgment
ClientAcknowledge Client acknowledgment
DupsOkAcknowledge Duplication ok acknowledgment
NoAcknowledge Defines no acknowledge acknowledge mode. This acknowledge mode is a proprietary extension and when used offers increased performance of the message consumers. Messages delivered to the sessions using this acknowledge mode do not require acknowledgement and are never redelivered regardless if the delivery has been successfull or not. This can only be used by Topic sessions but not by Queue sessions.
ExplicitClientAcknowledge Defines explicit client acknowledge mode. This acknowledge mode is a proprietary extension. Sessions using this acknowledge mode must acknowledge each message explicitly calling the acknowledge() method for all messages. The application can call aknowledge() in any order. The general rule that acknowledging a message will acknowledge all previous messages does not apply.
ExplicitClientDupsOkAcknowledge Defines explicit client acknowledge mode with dups_ok. This acknowledge mode is a proprietary extension. This acknowledge mode implements the same explicit acknowledge logic as the ExplicitClientAcknowledge mode. However while ExplicitClientAcknowledge guarantees the success of the acknowledge operation upon return, this mode does not and, similarly to DupsOkAcknowledge mode, acknowledges message lazily with the possibility that some acknowledged messages may be redelivered. Like for ExplicitClientAcknowledge, this mode requires an application to explicitly call acknowledge() method, in any order, for each message it wants to acknowledge.

Requirements

Namespace: TIBCO.EMS

Assembly: TIBCO.EMS (in TIBCO.EMS.dll, TIBCO.EMS-CF.dll)

See Also

TIBCO.EMS Namespace