Resets the priority for a pending request in the queue.
|
Syntax:
|
RqQuePri(service/server name, request id, new priority, supervisor password)
|
Parameters:
|
service/server name: An Alpha variable or constant with a service name.
request id: Alpha value defining the entry in the queue.
new priority: Numeric values defining the new priority. (0-9)
supervisor password: An Alpha variable defining the supervisor password of the service Broker or an empty string.
|
Returns:
|
Boolean value indicating the success of the operation.
|
Example:
|
RqQuePri('Default service', BA, 'Secret') The BA virtual variable temporarily stores the required ID returned by the Call Remote command.
|
Exception:
|
This function is supported only while using the Broker as a middleware.
|
Note:
|
If the service name, req ID, or priority is invalid, the function returns a value of False. If the password is invalid, the function also returns a value of False.
|
See also:
|
The Online and Rich Client Samples projects (program ES15 and RES15)
|