# tibemsTopicInfo_GetOverflowPolicy

Function

## Purpose

Get the overflow policy for this topic.

## C Declaration

    tibems_status tibemsTopicInfo_GetOverflowPolicy(
        tibemsTopicInfo topicInfo,
        tibems_int* overflowPolicy);

## COBOL Call

    CALL "tibemsTopicInfo_GetOverflowPolicy"
     USING BY VALUE topicInfo,
           BY REFERENCE overflowPolicy,
           RETURNING tibems-status
    END-CALL.

## Parameters

Parameter | Description
--- | ---
`topicInfo` |
`overflowPolicy` | S toresthe overflow policy.

## Remarks

This function retrieves the overflow policy for the queue. Possible values are:

- `TIBEMS_OVERFLOW_DEFAULT`
- `TIBEMS_OVERFLOW_DISCARD_OLD`
- `TIBEMS_OVERFLOW_REJECT_INCOMING`

For more information about overflow policies, see the TIBCO Enterprise Message Service User’s Guide.

## See Also

`tibemsQueueInfo_GetOverflowPolicy`

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