Indicates how messages should be acknowledged by QAnywhere client applications.
Public Enum AcknowledgementMode
public enum AcknowledgementMode
Member name | Description |
---|---|
EXPLICIT_ACKNOWLEDGEMENT |
Indicates that received messages are acknowledged using one of the QAManager acknowledge methods. |
IMPLICIT_ACKNOWLEDGEMENT |
Indicates that all messages are acknowledged as soon as they are received by a client application. If you receive messages synchronously, messages are acknowledged as soon as the QAManagerBase.GetMessage(string) method returns. If you receive messages asynchronously, the message is acknowledged as soon as the event handling function returns. |
TRANSACTIONAL |
This mode indicates that messages are only acknowledged as part of the on going transaction. This mode is automatically assigned to QATransactionalManager instances. |
The implicit and explicit acknowledgement modes are assigned to a QAManager instance using the QAManager.Open(AcknowledgementMode) method.
For more information, see Initializing a QAnywhere API.
With implicit acknowledgement, messages are acknowledged as soon as they are received by a client application. With explicit acknowledgement, you must call one of the QAManager acknowledgement methods. The server propagates all status changes from client to client.
For more information, see Receiving messages synchronously and Receiving messages asynchronously.
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |