Collapse All Expand All

.NET Framework Class Library
ConsumerInfo..::.Details Class See Also

[TIBCO.EMS .NET Admin client library 6.0 documentation]

Returns consumer's session acknowledge mode as a constant defined in {Admin}.

Namespace: TIBCO.EMS.ADMIN
Assembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)

# Syntax

    public int GetSessionAcknowledgeMode()

    Public Function GetSessionAcknowledgeMode As Integer

    public:
    int GetSessionAcknowledgeMode()

#### Return Value

consumer's session acknowledge mode

# Remarks

This method returns consumer's session acknowledge mode as a value defined in {Admin} class.

Returned value is

- {SESSION_UNKNOWN_ACKNOWLEDGE} if consumer is currently not connected (for durable topic subscribers)
- {SESSION_XA} if consumer's session is XA session
- {SESSION_TRANSACTED} if consumer's session is transacted
- or one of values
  - {SESSION_NO_ACKNOWLEDGE},
  - {SESSION_AUTO_ACKNOWLEDGE},
  - {SESSION_DUPS_OK_ACKNOWLEDGE},
  - {SESSION_CLIENT_ACKNOWLEDGE}.

# See Also

ConsumerInfo..::.Details Class
TIBCO.EMS.ADMIN Namespace