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 Java API reference » QAnywhere Java API for clients » QAMessage interface

 

getRedelivered method

Syntax
boolean QAMessage.getRedelivered()
throws QAException
Throws
  • Thrown if there is a problem retrieving the redelivered status.

Remarks

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

Redelivered 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 opened with AcknowledgementMode.EXPLICIT_ACKNOWLEDGEMENT and shuts down without acknowledging the message. When the application starts again and receives the same message, the message is marked as redelivered.

Returns

True if the message has been previously received but not acknowledged.