liunancun opened a new issue, #11860: URL: https://github.com/apache/dubbo/issues/11860
我们做了个系统专门用来同步Amazon平台的数据,暂时称之为B系统,同时我们内部有个ERP系统,暂时称之为B系统 我们对接了Amazon的众多接口,比如Order接口、Product接口等等,在B系统我们有AmazonOrderService和AmazonProductService,有AmazonOrder对象和AmazonProduct对象。 同时我们在A系统有表来保存Amazon的Order和Product,所以在A系统也存在AmazonOrderService、AmazonProductService、AmazonOrder和AmazonProduct这些类,这些类的名字都是一样的,只是包名不一样 因为Dubbo是通过引用接口包来对接的,A系统引用了B系统的接口包,也就把B系统的AmazonOrderService、AmazonProductService、AmazonOrder和AmazonProduct引入到A系统了,这个时候就存在同名的类,如果都通过全路径包名区分的话,感觉代码不是很优雅,大家都是怎么处理这类问题的,有没有什么好办法可以借鉴一下 -- 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]
