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.