Open topic with navigation

TIBCO Rendezvous® 8.8.0

# TibrvQueue.setPriority()

Method

## Declaration

    void setPriority(int priority)
      throws TibrvException

## Purpose

Set the priority of a queue.

## Remarks

Each queue has a single priority value, which controls its dispatch precedence within queue groups. Higher values dispatch before lower values; queues with equal priority values dispatch in round-robin fashion.

Changing the priority of a queue affects its position in all the queue groups that contain it.

Parameter | Description
`priority` | Replace the priority of the queue with this new value. The priority must be a non-negative integer. Priority zero signifies the last queue to dispatch.

## See Also

TibrvQueue.getPriority()

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-2025. Cloud Software Group, Inc. All Rights Reserved.