You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "tswstarplanet (GitHub)" <gi...@apache.org> on 2018/11/29 20:51:38 UTC

[GitHub] [incubator-dubbo] tswstarplanet commented on issue #2851: 配置多个procotol时,和单个protocol处理逻辑不一致

> ![2018-11-29 9 19 56](https://user-images.githubusercontent.com/14872046/49224694-06cb0f00-f41d-11e8-9313-d5dc0b9f20ff.png)
> 
> <dubbo:service interface="org.apache.dubbo.demo.DemoService" ref="demoService" protocol="dubbo,http"/>
> 
> 如代码所示,当配置多个protocol时,类型为RuntimeBeanReference,则意味者必须有相应的协议bean,
> 否则回报没法找到相应的bean,
> 当配置单个protocol时,类型为ProtocolConfig,导致即使 不配置dubbo:protocol标签,也不会报错

请问你贴出来这个是哪个类?

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2851 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org