startjava opened a new issue #8504:
URL: https://github.com/apache/dubbo/issues/8504


   消费者的JavaConfig代码如下:
   @Configuration
   public class JavaConfigDubbo {
       @DubboReference(group = "IServer1_A")
       private IService1 iService1;
   
       @DubboReference(group = "IServer1_B")
       private IService1 iService2;
   }
   
   消费者的Controller代码如下:
   @RestController
   public class TestCcontroller {
       @Autowired
       private IService1 service1_1;
   
       @Autowired
       private IService1 service1_2;
   
   我的问题是,控制层中的这2个变量数据类型是一样的,如何写能注入指定的实现类呢?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to