Collapse All Expand All

.NET Framework Class Library
QueueConnection Class See Also

[TIBCO.EMS.UFOCLIENT .NET client library 5.1 documentation]

Creates a QueueSession object.

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

# Syntax

    public virtual QueueSession CreateQueueSession(
    	bool transacted,
    	SessionMode acknowledgeMode
    )

    Public Overridable Function CreateQueueSession ( _
    	transacted As Boolean, _
    	acknowledgeMode As SessionMode _
    ) As QueueSession

    public:
    virtual QueueSession^ CreateQueueSession(
    	bool transacted,
    	SessionMode acknowledgeMode
    )

#### Parameters

transacted
  Type: System..::.Boolean
  Indicates whether the session is transacted.

  When true, the new session has transaction semantics.

  When false, it has non-transaction semantics.

acknowledgeMode
  Type: SessionMode

  Indicates whether and how the consumer is to acknowledge received messages.

  Legal values are listed under TIBCO.EMS.SessionMode.

  This parameter is ignored if the session is transacted.

#### Return Value

A newly created queue session

# Remarks

Note: This method is provided for backward compatibility to support older EMS clients programs.
The new queue session uses the connection for all server communications. It will be recreated during connection recovery process.

# See Also

QueueConnection Class
CreateQueueSession Overload
TIBCO.EMS.UFO Namespace