A Session is a single-threaded context for producing or consuming messages. You create Message Producers or Message Consumers using Session objects. A Session can be transactional to enable a group of messages to be sent and received in a single transaction. A non-transactional Session can define the acknowledge mode of message objects received by the session. See
Message Acknowledgement for details.
The EMS extended acknowledgement modes, such as NO_ACKNOWLEDGE, require that you include the
com.tibco.tibjms.Tibjms constant when you specify the EMS delivery mode. For example, to create a non-transactional
Session that uses the
NO_ACKNOWLEDGE delivery mode:
See the tibjmsMsgProducer.java sample client for a working example.
See the tibemsMsgProducer.c sample client for a working example.
See the csMsgProducer.cs sample client for a working example.