PriorityCallConfigBean
Use the PriorityCallConfig to configure call settings, namespace prioritization, priority queues, priority thresholds, leaky bucket settings, and error responses.
URL Syntax
For a GET:
/management/weblogic/latest/serverConfig/customResources/prioritycallconfig/customResourceFor a POST:
/management/weblogic/latest/edit/customResources/prioritycallconfig/customResource
HTTP Methods
- GET
- POST
Note:
A DELETE request on /management/weblogic/latest/serverConfig/customResources/prioritycallconfig will permanently delete the PriorityCallConfigBean instance. If this happens, you will have to reinstall the Converged Application Server.
Parameters
Table 17-16 URL Parameters for the customResource endpoint
| Names | Description |
|---|---|
| links | Set to none if you want to remove
the links from the response. Set to an enumerated list of the links
to return. For
example:
|
| fields | Set to an enumerated list of the fields to return. For example: |
Examples
Example 17-48 Get the Priority Call Configuration
curl -u 'weblogic:<password>' \
"http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/prioritycallconfig/customResource"
Example response:
{
"links": [
{
"rel": "parent",
"href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/prioritycallconfig"
},
{
"rel": "self",
"href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/prioritycallconfig/customResource"
},
{
"rel": "canonical",
"href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/prioritycallconfig/customResource"
},
{
"rel": "priorityThreshold",
"href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/prioritycallconfig/customResource/priorityThreshold"
},
{
"rel": "priorityNamespacePrioritization",
"href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/prioritycallconfig/customResource/priorityNamespacePrioritization"
},
{
"rel": "priorityErrorResponseConfig",
"href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/prioritycallconfig/customResource/priorityErrorResponseConfig"
},
{
"rel": "priorityLeakyBucketCallRateThreshold",
"href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/prioritycallconfig/customResource/priorityLeakyBucketCallRateThreshold"
},
{
"rel": "priorityQueue",
"href": "http://10.0.0.1:7001/management/weblogic/latest/serverConfig/customResources/prioritycallconfig/customResource/priorityQueue"
}
],
"identity": [
"customResources",
"prioritycallconfig",
"customResource"
],
"rpNamespacePrioritizationValidation": true,
"queueCleanupTimerInSecs": 1,
"enableMessageQueuedIndication": false,
"thresholdStatisticsUpdateTimerInSecs": 30,
"serverListToEnablePriorityCallHandling": "*",
"timeIntervalInSecs": 1,
"name": null,
"enablePriorityCallHandling": false,
"newCallsAllowed": 2000,
"enableRpNegotiation": false
}
Example 17-49 Update the Priority Call Configuration
This example shows how to enable Resource-Priority Negotiation.
curl -X POST \
-d '{"enableRpNegotiation":true}' \
-H "X-Requested-By: MyClient" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--user weblogic:<password> \
"http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/prioritycallconfig/customResource"