dubbo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] zonghaishang commented on issue #66: 请问如何配置一个项目既是消费者,又是提供者
Date Mon, 19 Mar 2018 06:33:39 GMT
zonghaishang commented on issue #66: 请问如何配置一个项目既是消费者,又是提供者
URL: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/66#issuecomment-374114075
 
 
   @oawang
   If the same service provider and consumer are in one project, the consumer will inject
from the spring context to get the provider and will not initiate a remote call.
   
   I suggest you set :
   
   dubbo.application.id = dubbo-provider-demo
   dubbo.application.name = dubbo-provider-demo
   
   Because remote consumer may want invoke current service.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message