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>.

AttributeCorresponding URL parameterTypeRequiredDefault ValueFunctionDescriptionCompatibility
keykeystringTrueService governancerouting parameter keyAbove 2.0.0
valuevaluestringTrueService governancerouting parameter valueAbove 2.0.0

For example:

<dubbo:protocol name="napoli">
    <dubbo:parameter key="" value="xxx" />

you can also use it like this:

<dubbo:protocol name="jms" p:queue="xxx" />

Last modified June 18, 2021: update menu (f880d08)