Closed WangziwenUnique closed 4 years ago
未发现全局Protocol如何配置,spring-configuration-metadata.json中提供的配置中,也未发现soureType对应的类 MultipleDubboConfigBindingProperties。
只能暂时采用替代方案,为所有Providers统一配置Protocols,缺点无法为个别接口指定对外协议
this issue should have been addressed by @mercyblitz.
@mercyblitz would you mind to confirm?
MultipleDubboConfigBindingProperties
has been removed, however, spring-configuration-metadata.json still works on IDEA.
Before Spring Boot Starter 0.2.1 or 0.1.2, you have to add a new configuration property:
dubbo.config.multiple=true
Environment
Steps to reproduce this issue
Expected Result
本应该注入两个协议,但实际上一个协议都没注入
Actual Result
启动spring boot 找不到指定协议名的bean
!!而且注入失败也没有提示,不调试根本无感知
测试单个注入不管是jsonrpc还是dubbo都可以成功,但是多个注册就根本注册失败