tibemsStatData_GetTotalBytes

Function

Purpose

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

C Declaration

tibems_status tibemsStatData_GetTotalBytes(
    tibemsStatData statData,
    tibems_long* bytes);

COBOL Call

CALL "tibemsStatData_GetTotalBytes"
 USING BY VALUE statData,
       BY REFERENCE size,
       RETURNING tibems-status
END-CALL.

Parameters

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

Remarks

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