TIBCO Enterprise Message Service 4.3.0 .NET Client Class Library

Session Members

Session overview

Public Static Fields

AUTO_ACKNOWLEDGE Automatic acknowledgment
CLIENT_ACKNOWLEDGE Client acknowledgment
DUPS_OK_ACKNOWLEDGE Duplication ok acknowledgment
EXPLICIT_CLIENT_ACKNOWLEDGE 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.
EXPLICIT_CLIENT_DUPS_OK_ACKNOWLEDGE 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 EXPLICIT_CLIENT_ACKNOWLEDGE mode. However while EXPLICIT_CLIENT_ACKNOWLEDGE guarantees the success of the acknowledge operation upon return, this mode does not and, similarly to DUPS_OK_ACKNOWLEDGE mode, acknowledges message lazily with the possibility that some acknowledged messages may be redelivered. Like for EXPLICIT_CLIENT_ACKNOWLEDGE, this mode requires an application to explicitly call acknowledge() method, in any order, for each message it wants to acknowledge.
NO_ACKNOWLEDGE 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.
SESSION_TRANSACTED The session is transacted

Public Instance Properties

AcknowledgeMode Get the acknowledge mode of the session as integer constants as defined in Session class. Users are recommended to use the SessionMode enum instead.
ConnectionGet the connection the session belongs to
IsClosedGets whether the session is closed.
IsTransacted Get whether the session is transacted
MessageListenerObsolete. Get or set the message listener for the session. -Deprecated, use MessageConsumer.MessageListener instead.
SessIDGets the id of the session.
SessionAcknowledgeMode Get the acknowledge mode of the session, returned value is of type SessionMode
Transacted Get whether an open session is transacted

Public Instance Methods

Close 
Commit 
CreateBrowserOverloaded. Create a queue browser object
CreateBytesMessage 
CreateConsumerOverloaded.  
CreateDurableSubscriberOverloaded.  
CreateMapMessage 
CreateMessage 
CreateObjectMessageOverloaded.  
CreateProducer 
CreateQueue 
CreateStreamMessage 
CreateTemporaryQueue 
CreateTemporaryTopic 
CreateTextMessageOverloaded.  
CreateTopic 
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Recover 
Rollback 
ToString (inherited from Object) Returns a String that represents the current Object.
Unsubscribe 

See Also

Session Class | TIBCO.EMS Namespace