# tibemsQueueInfo_GetMaxMsgs

Function

## Purpose

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

## C Declaration

    tibems_status tibemsQueueInfo_GetMaxMsgs(
        tibemsQueueInfo queueInfo,
        tibems_long* maxMsgs);

## COBOL Call

    CALL "tibemsQueueInfo_GetMaxMsgs"
     USING BY VALUE queueInfo,
           BY REFERENCE maxMsgs,
           RETURNING tibems-status
    END-CALL.

## Parameters

Parameter | Description
--- | ---
`queueInfo` | Maximum number of pending messages.
`maxMsgs` | Store the maximum number of messages.

## See Also

`tibemsTopicInfo_GetMaxMsgs`

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