Skip to content
Snippets Groups Projects
Commit c3baa0da authored by ztelur's avatar ztelur Committed by AlexStocks
Browse files

comment

parent a69b91e2
No related branches found
No related tags found
No related merge requests found
......@@ -239,6 +239,8 @@ func (proto *registryProtocol) reExport(invoker protocol.Invoker, newUrl *common
func registerServiceMap(invoker protocol.Invoker) error {
providerUrl := getProviderUrl(invoker)
// the bean.name param of providerUrl is the ServiceConfig id property
// such as dubbo://:20000/org.apache.dubbo.UserProvider?bean.name=UserProvider&cluster=failfast...
id := providerUrl.GetParam(constant.BEAN_NAME_KEY, "")
serviceConfig := config.GetProviderConfig().Services[id]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment