tibemsMsg_GetDeliveryTime

Function

Purpose

Get the delivery time header from a message.

C Declaration

tibems_status tibemsMsg_GetDeliveryTime(
    tibemsMsg message,
    tibems_long* time );

COBOL Call

CALL "tibemsMsg_GetDeliveryTime"
     USING BY VALUE message,
           BY REFERENCE time,
           RETURNING tibems-status
END-CALL.
Note: message has usage pointer.

Parameters

Parameter Description
message Get the delivery time from this message.
time Store the delivery time.

Remarks

Sending calls record the delivery time of the message in this field.

The delivery time is the difference, measured in milliseconds, between the delivery time and midnight, January 1, 1970 UTC.

A message's delivery time is the earliest time when a JMS provider may deliver the message to a consumer. The provider must not deliver messages before the delivery time has been reached.