# tibemsConsumerInfo_GetPendingMessageSize

Function

## Purpose

Get the combined size of pending messages for a topic consumer.

## C Declaration

    tibems_status tibemsConsumerInfo_GetPendingMessageSize(
        tibemsConsumerInfo consumerInfo,
        tibems_long* size);

## COBOL Call

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

## Parameters

Parameter | Description
--- | ---
`consumerInfo` | Get the size for this consumer.
`size` | Store the size of pending messages.

## Remarks

This function can be used to retrieve the combined size of the pending messages for a topic consumer. If the consumer is a queue consumer, the function returns 0 (zero).

## See Also

`tibemsQueueInfo_GetPendingMessageSize`

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