tibemsStatData_GetMessageRate

Function

Purpose

Get the rate of messages sent or received each second.

C Declaration

tibems_status tibemsStatData_GetMessageRate(
    tibemsStatData statData,
    tibems_long* messageRate);

COBOL Call

CALL "tibemsStatData_GetMessageRate"
 USING BY VALUE statData,
       BY REFERENCE rate_msgs,
       RETURNING tibems-status
END-CALL.

Parameters

Parameter Description
statData Get the rate for this message consumer, producer, topic, or queue.
messageRate Store the average message rate.

Remarks

This function gets the average number of messages sent or received per second. For message consumers, this rate reflects the number of messages received by the consumer. For messages producers, it is the rate of messages sent, and for topics and queues the rate includes both inbound and outbound messages.