tibemsConsumerInfo_GetTotalMsgCountSentByServer
Function
Purpose
Get the total number of messages the server sent to this consumer since the consumer was created.
C Declaration
tibems_status tibemsConsumerInfo_GetTotalMsgCountSentByServer( tibemsConsumerInfo consumerInfo, tibems_long* count);
COBOL Call
CALL "tibemsConsumerInfo_GetTotalMsgCountSentByServer" USING BY VALUE consumerInfo, BY REFERENCE count, RETURNING tibems-status END-CALL.
Parameters
Parameter | Description |
---|---|
consumerInfo
|
Get the number of messages for this consumer. |
count
|
Store the message count. |
Remarks
This function returns total number of messages the server sent to this consumer since consumer was created. This value include duplicates of messages that were resent after a consumer's session recovery or rollback. Therefore, the count may not represent true number of unique messages received by this consumer and should be used only for statistical and informational purposes.