acknowledge function

Syntax
qa_bool QAManager::acknowledge(
  QAMessage * msg
)
Parameters
  • msg   The message to acknowledge.

Remarks

Acknowledges that the client application successfully received a QAnywhere message.

Note: when a QAMessage is acknowledged, its MessagePropertiesSTATUS property changes to StatusCodes.RECEIVED. When a QAMessage status changes to StatusCodes.RECEIVED, it can be deleted using the default delete rule.

For more information about delete rules, see Message delete rules.

See Also

acknowledgeAll function

acknowledgeUntil function

Returns

True if and only if the operation succeeded.