lvliuzhong commented on issue #10570:
URL: https://github.com/apache/dubbo/issues/10570#issuecomment-1240159327
```
@RestController
@RequestMapping("/test")
public class TestController {
@Reference
private RoomFacade roomFacade;
@Reference(injvm = false)
private RoomFacade roomFacade2;
@Reference
private AnchorFacade anchorFacade;
@Reference(injvm = false)
private AnchorFacade anchorFacade2;
@GetMapping("/test")
public ReturnValue test(int type, Long id) {
// TODO 根据type来调度不同的dubbo服务,实现
return ReturnValue.renderSuccess();
}
}
```
这种作为消费者的项目做测试就ok。。可以必须这种问题。。只需要启动后,把 “RoomFacade”和“AnchorFacade”
的服务提供者的机器随便关闭一台就能复现。。
--
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]