apache / dubbo-spring-boot-project

Spring Boot Project for Apache Dubbo
https://dubbo.apache.org
Apache License 2.0
5.41k stars 1.88k forks source link

Remove spring web dependency #67

Closed codefromthecrypt closed 6 years ago

codefromthecrypt commented 6 years ago

If you run where the web container is disabled, like "--spring.main.web-environment=false", the process will exit. It seems like we should have instructions for applications who only communicate via dubbo, not running the web container, even if usually they will

copy of https://github.com/alibaba/dubbo-spring-boot-starter/issues/66

mercyblitz commented 6 years ago

Actually , dubbo-spring-boot-starter should block main thread as a standby Spring Boot application on non-web environment.

dungang commented 6 years ago

@mercyblitz “dubbo-spring-boot-starter should block main thread as a standby Spring Boot application on non-web environment.” 实际执行的时候没block。按照“dubbo-spring-boot-samples”编写代码也是没有block

mercyblitz commented 6 years ago

@dungang Since 0.1.1 Non-web Spring Boot Application will be await util it shutdowns.