JMS – Message Acknowledgement (Magic xpi 4.6)
Until a JMS message has been acknowledged, the message is not considered to be successfully consumed. The successful consumption of a message can be acknowledged in one of three ways:
-
AUTO_ACKNOWLEDGE: The session automatically acknowledges the receipt of a message by the client.
-
CLIENT_ACKNOWLEDGE: The client acknowledges a message by calling the message’s acknowledge method.
-
DUPS_OK_ACKNOWLEDGE: This option instructs the session to acknowledge message delivery. This can result in the delivery of duplicate messages if the JMS provider fails, therefore this option should only be used by clients that can handle duplicate messages.