huogithub commented on issue #12637:
URL: https://github.com/apache/dubbo/issues/12637#issuecomment-2044274537

   对比了下2.7.X与3.X   
org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor#registerReferenceBean
 实现
   同一JVM针对一个接口既是服务提供者又是消费者处理不一样
   2.7.X向spring只注册了服务提供者实例,消费者只注册了别名;
   3.X向spring注册了服务提供者实例,也注册了消费者实例,这样在这个容器Reference,Resource,autowired 
注解混用存在很多问题;
   能否参照2.7.X,只注册一个实例,消费者注册别名
   
   
![image](https://github.com/apache/dubbo/assets/12825873/0d623cec-68a7-4917-873c-1b4446c95825)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to