Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » QAnywhere » QAnywhere API Reference » QAnywhere C++ API reference


AcknowledgementMode class

public AcknowledgementMode

Indicates how messages should be acknowledged by QAnywhere client applications.

The IMPLICIT_ACKNOWLEDGEMENT and EXPLICIT_ACKNOWLEDGEMENT modes are assigned to a QAManager instance using the QAManageropen() method. The TRANSACTIONAL mode is implicitly assigned to QATransactionalManager instances.

For more information, see Initializing a QAnywhere API.

In implicit acknowledgement mode, messages are acknowledged as soon as they are received by a client application. In explicit acknowledgement mode, you must call one of the QAManager acknowledgement methods. In transactional mode, you must call the QATransactionalManagercommit() method to acknowledge all outstanding messages. The server propagates all status changes from client to client.

For more information, see Receiving messages synchronously andReceiving messages asynchronously.

For transactional messaging, use the QATransactionalManager. In this case, you use the QATransactionalManagercommit method to acknowledge messages belonging to a transaction.

You can determine the mode of a QAManagerBase instance using the QAManagerBaseMode property.

See Also

QAManager class

QATransactionalManager class

QAManagerBase class


All members of AcknowledgementMode, including all inherited members.