dubbo:parameter
dubbo:parameter element
Optional parameter configuration. The corresponding class is java.util.Map
. This tag is used as a sub tag to configure custom parameters for extending <dubbo:protocol>
, <dubbo:service>
, <dubbo:provider>
, <dubbo:reference>
or <dubbo:consumer>
.
Attribute | Corresponding URL parameter | Type | Required | Default Value | Function | Description | Compatibility |
---|---|---|---|---|---|---|---|
key | key | string | True | Service governance | routing parameter key | Above 2.0.0 | |
value | value | string | True | Service governance | routing parameter value | Above 2.0.0 |
For example:
<dubbo:protocol name="napoli">
<dubbo:parameter key="http://10.20.160.198/wiki/display/dubbo/napoli.queue.name" value="xxx" />
</dubbo:protocol>
you can also use it like this:
<dubbo:protocol name="jms" p:queue="xxx" />
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified December 22, 2020: clean up website (6e41905afa)