dubbo 一個接口多個實現


<dubbo:service ref="dubboGroupService1" interface="com.yncp.dubbo.service.IDubboGroupService" protocol="dubbo,rmi" group="feedback" />

<dubbo:service ref="dubboGroupService2" interface="com.yncp.dubbo.service.IDubboGroupService" protocol="dubbo,rmi" group="member" />

 

<dubbo:reference id="groupservice1" interface="com.yncp.dubbo.service.IDubboGroupService" protocol="dubbo" group="feedback" />

<dubbo:reference id="groupservice2" interface="com.yncp.dubbo.service.IDubboGroupService" protocol="dubbo" group="member" />

<dubbo:reference id="groupservice3" interface="com.yncp.dubbo.service.IDubboGroupService" protocol="dubbo" group="*" />


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM