Copyright © TIBCO Software Inc. All Rights Reserved

> 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 | The function stores the number of messages in this location.

> 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.

Copyright © TIBCO Software Inc. All Rights Reserved