Broker 10.5 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | Introduction | Basics of webMethods Messaging | JMS API Programming Model | Messages | Message Acknowledgment
Message Acknowledgment
A message is not considered to be successfully consumed until it is acknowledged. Depending on the session acknowledgment mode, the messaging provider may send a message more than once to the same destination. There are several message acknowledgment constants:
Automatically acknowledges the successful receipt of a message.
Message acknowledgements are sent asynchronously to Broker Server. Configure these properties to change the default behavior of message acknowledgements:
For information about the APIs available for configuring the asynchronous auto acknowledgements, see the descriptions of the WmJMSConfig class in the Javadoc.
Acknowledges the receipt of a message when the client calls the message's acknowledge() method.
Instructs the session to automatically, lazily acknowledge the receipt of messages. This reduces system overhead but may result in duplicate messages being sent.
Used for transacted sessions. The acknowledgment mode is ignored.