tibemsConsumerInfo_GetElapsedSinceLastAcknowledged

Function

Purpose

Get the approximate number of milliseconds elapsed since the last time a message sent to this consumer was acknowledged by the consumer's session.

C Declaration

tibems_status tibemsConsumerInfo_GetElapsedSinceLastAcknowledged(
    tibemsConsumerInfo consumerInfo,
    tibems_long* time);

COBOL Call

CALL "tibemsConsumerInfo_GetElapsedSinceLastAcknowledged"
 USING BY VALUE consumerInfo,
       BY REFERENCE time,
       RETURNING tibems-status
END-CALL.

Parameters

Parameter Description
consumerInfo Get the milliseconds elapsed for this consumer.
time Stores the elapsed time.

Remarks

This function gets the approximate number of milliseconds that have elapsed since last time a message sent to this consumer was acknowledged by consumer's session. This value, while returned in milliseconds, has a precision of 1 second. This value should be used for informational purposes only. For example, it can be used to identify consumers which receive messages but do not acknowledge them for some reason.