tibemsStatData_GetTotalMessages

Function

Purpose

Get the total number of messages sent or received each second.

C Declaration

tibems_status tibemsStatData_GetTotalMessages(
    tibemsStatData statData,
    tibems_long* messages);

COBOL Call

CALL "tibemsStatData_GetTotalMessages"
 USING BY VALUE statData,
       BY REFERENCE msgs,
       RETURNING tibems-status
END-CALL.

Parameters

Parameter Description
statData Get the total number of messages for this consumer, producer, topic, or queue.
messages Store the number of messages.

Remarks

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