Message Acknowledgements in EMS
This post is the continuation of the Previous posts, So please read those also.
There are 3 levels of acknowledgements:
- DUPS_OK_ACKNOWLEDGE, for consumers that are tolerant of duplicate messages.
- AUTO_ACKNOWLEDGE, in which the session automatically acknowledges a client’s receipt of a message.
- CLIENT_ACKNOWLEDGE, in which the client acknowledges the message by calling the message’s acknowledging method.
The following describes the steps in message delivery and acknowledgement:
- A message is sent from the message producer to the machine on which the TIBCO Enterprise Message Service server resides.
- The EMS server acknowledges that the message was received.
- The server sends the message to the consumer.
- The consumer sends acknowledgement to the server that the message was received.
- In many cases, the server then confirms acknowledgement to the consumer. Acknowledgement from the consumer to the server prevents the delivery of duplicate messages.
0 comments:
Post a Comment