# tibemsTopicInfo_GetMaxMsgs

Function

## Purpose

Get the maximum number of pending messages bound for the topic that the server will store.

## C Declaration

    tibems_status tibemsTopicInfo_GetMaxMsgs(
        tibemsTopicInfo topicInfo,
        tibems_long* maxMsgs);

## COBOL Call

    CALL "tibemsTopicInfo_GetMaxMsgs"
     USING BY VALUE topicInfo,
           BY REFERENCE maxMsgs,
           RETURNING tibems-status
    END-CALL.

## Parameters

Parameter | Description
--- | ---
`topicInfo` | Get the number of messages for this topic.
`maxMsgs` | Store the number of messages.

## See Also

`tibemsQueueInfo_GetMaxMsgs`

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