A Session is a single-threaded context for producing or consuming messages. You create MessageProducers or MessageConsumers using Session objects. For example, using the myConnection
object created in Connection, the following creates a Session:
The first parameter to the CreateSession()
method determines whether the Session is transactional or not. The second parameter specifies the acknowledge mode of messages received by the session. See Message Acknowledgement and No-Acknowledgement Message Receipt for more information about message acknowledgment modes supported in TIBCO Enterprise Message Service.
TIBCO Enterprise Message Service™ User’s Guide Software Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |