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

SQL Anywhere 11.0.1 » QAnywhere » QAnywhere Reference » QAnywhere C++ API reference » QAMessage class

 

getRedelivered function

Syntax
qa_bool QAMessage::getRedelivered()
Remarks

Indicates whether the message has been previously received but not acknowledged.

The Redelivered header is set by a receiving QAManager when it detects that a message being received was received before.

For example, an application receives a message using a QAManager class opened with EXPLICIT_ACKNOWLEDGEMENT, and shuts down without acknowledging the message. When the application starts again and receives the same message the Redelivered header is true.

For more information about getting and setting message headers and properties, see Introduction to QAnywhere messages.

Returns

True if and only if the message was redelivered.