The parameter configuration functionality is provided by the Service Management feature of the WSO2 feature repository
Anchor 4 4 4. Parameters can be defined
Excerpt
Instruction to configure parameters in the quality of service configuration panel
You can set parameters to a service in two levels as follows
. In both levels, specific configuration steps are the same from step 4 onwards in the service-level parameter configuration section described here.:
- Operation-Level : Parameters can be configured for a particular operation of a service. For information on how to access operation-level parameter configuration windows, refer to section See Operation Management.
- Service-Level : Parameters Parameters can be configured for a particular service particular service as described below.
Follow the instructions below to add and manage the parameters of to a service.
1. Log on to the product's management console and select "List" under "Services."
2. The "Deployed Services" screen
Service-level parameters
- Log in to the management console and select Services > List from the Main menu.
- The Deployed Services window appears. Click on the necessary service
- to access its dashboard.
- In the dashboard, under Quality of Service Configuration
- panel, click Parameters.
- You can define parameters inside the services.xml as an immediate child element of the service element.
- You can access parameters using the message context (at the runtime) or AxisService or AxisOperation. A parameter has two attributes:
- name - The mandatory attribute which defines the parameter name.
- locked - The optional attribute. The idea of a locked attribute is to express whether we allow the parameter value to be overridden by a child node in the hierarchy.
- the
locked
attribute totrue
, it throws an exception when a service tries to add another parameter with the same name
- .
- Click Add New...
- button to generate a new service
- parameter
6. Enter the parameter value and click on the "Update" button to save new parameters in the service group.
7. If you want to delete a parameter, click on the "Delete" button associated with it.
hidden | true |
---|
- .