Open topic with navigation

TIBCO Rendezvous® 8.7.0

# tibrvQueueLimitPolicy

Type

## Declaration

    typedef enum {
       TIBRVQUEUE_DISCARD_NONE,
       TIBRVQUEUE_DISCARD_NEW,
       TIBRVQUEUE_DISCARD_FIRST,
       TIBRVQUEUE_DISCARD_LAST } tibrvQueueLimitPolicy;

## Purpose

Specify a strategy for resolving overflow of queue limit.

Value | Description
`TIBRVQUEUE_DISCARD_NONE` | Never discard events; use this policy when a queue has no limit on the number of events it can contain.
`TIBRVQUEUE_DISCARD_FIRST` | Discard the first event in the queue (that is, the oldest event in the queue, which would otherwise be the next event to dispatch).
`TIBRVQUEUE_DISCARD_LAST` | Discard the last event in the queue (that is, the youngest event in the queue).
`TIBRVQUEUE_DISCARD_NEW` | Discard the new event (which would otherwise cause the queue to overflow its maximum events limit).

## See Also

tibrvQueue_Create()

tibrvQueue_GetLimitPolicy()

tibrvQueue_SetLimitPolicy()

`QUEUE.LIMIT_EXCEEDED` in TIBCO Rendezvous Concepts

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.