4.5.3.1 About Priorities to Interfaces

You can exert significant control over the flow of data in an application by assigning priorities to Oracle Tuxedo Interfaces using the PRIO parameter. For a CORBA application running on an Oracle Tuxedo system, you can specify the PRIO parameter for each interface named in the INTERFACES section of the application’s UBBCONFIG file.

For example, Server 1 offers Interfaces A, B, and C. Interfaces A and B have a priority of 50 and Interface C has a priority of 70. An interface requested for C is always dequeued before a request for A or B. Requests for A and B are dequeued equally with respect to one another. The system dequeues every tenth request in first in first out (FIFO) order to prevent a message from waiting indefinitely on the queue.

You can also dynamically change a priority with the tpsprio() call. Only preferred clients must be able to increase the interface priority. In a system on which servers perform interface request, the server can call tpsprio() to increase the priority of its interface so the user does not wait in line for every interface request that is required.