tibemsMsg_SetRedelivered

Function

Purpose

Set the redelivered header of a message.

C Declaration

tibems_status tibemsMsg_SetRedelivered(
    tibemsMsg message,
    tibems_bool value );

COBOL Call

CALL "tibemsMsg_SetRedelivered"
     USING BY VALUE message,
           BY VALUE value,
           RETURNING tibems-status
END-CALL.
Note: message has usage pointer.

Parameters

Parameter Description
message Set the redelivered indicator of this message.
value Set the redelivered indicator to this value.

Remarks

Sending calls set the redelivered header automatically. The JMS specification defines this call for symmetry.

The server sets this header to indicate whether a message might duplicate a previously delivered message:

  • false—The server has not previously attempted to deliver this message to the consumer.
  • true—It is likely (but not guaranteed) that the server has previously attempted to deliver this message to the consumer, but the consumer did not return timely acknowledgment.