# tibemsConsumerInfo_GetCurrentMsgSizeSentByServer

Function

## Purpose

Get the combined size of messages sent to consumer and not yet acknowledged by consumer's session.

## C Declaration

    tibems_status tibemsConsumerInfo_GetCurrentMsgSizeSentByServer(
        tibemsConsumerInfo consumerInfo,
        tibems_long* size);

## COBOL Call

    CALL "tibemsConsumerInfo_GetCurrentMsgSizeSentByServer"
     USING BY VALUE consumerInfo,
           BY REFERENCE  size,
           RETURNING tibems-status
    END-CALL.

## Parameters

Parameter | Description
--- | ---
`consumerInfo` | Get the unacknowledged message size for this consumer.
`size` | The function stores the total size of sent messages in this location.

## Remarks

This function gets the combined size of messages sent to consumer and not yet acknowledged by consumer's session. For topic consumers this size is included into the combined size of pending messages returned by `tibemsConsumerInfo_GetPendingMessageSize`.

## See Also

`tibemsConsumerInfo_GetPendingMessageSize`

Copyright © Cloud Software Group, Inc. All rights reserved.