tibemsQueueInfo_GetOverflowPolicy

Function

Purpose

Get the overflow policy for this queue.

C Declaration

tibems_status tibemsQueueInfo_GetOverflowPolicy(
    tibemsQueueInfo queueInfo,
    tibems_int* overflowPolicy);

COBOL Call

CALL "tibemsQueueInfo_GetOverflowPolicy"
 USING BY VALUE queueInfo,
       BY REFERENCE overflowPolicy,
       RETURNING tibems-status
END-CALL.

Parameters

Parameter Description
queueInfo Get the policy for this queue.
overflowPolicy Store the 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