Message Acknowledgement


The interface specification for JMS requires that message delivery be guaranteed under many, but not all, circumstances. The specification defines three levels of acknowledgement:

Figure 12 illustrates the basic structure of message delivery and acknowledgement.

Figure 12 Message Delivery and Acknowledgement

The following describes the steps in message delivery and acknowledgement:

  1. A message is sent from the message producer to the machine on which the TIBCO Enterprise Message Service server resides.
  2. The EMS server acknowledges that the message was received.
  3. (Reliable delivery mode omits this acknowledgement to improve performance. However, when the server denies the producer permission to send the message, the server responds to indicate that denial.)

  4. The server sends the message to the consumer.
  5. The consumer sends acknowledgement to the server that the message was received.
  6. In many cases, the server then confirms acknowledgement to the consumer. Acknowledgement from the consumer to the server prevents the delivery of duplicate messages.

TIBCO Enterprise Message Service™ User’s Guide
Software Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com