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


With regards,
Apache Git Services

Reply via email to