> --这个您说错了,ProtocolConfig中dubbo的shutdown hook依然是保留的,它会触发dubbo停机hook(这个和老版本逻辑一致)。

@rangtao What framework are you using?

Expected behavior:

* Dubbo + Dubbo's built-in spring container(dubbo-container-spring): 
DubboApplicationListener will be registered automatically, Dubbo's Shutdown 
hook will never be registered.
* Dubbo + Spring Framework + Tomcat: DubboApplicationListener will be 
registered automatically, , Dubbo's Shutdown hook will never be registered.
* Dubbo + Spring-boot: DubboApplicationListener should be registered 
automatically, Dubbo's Shutdown hook should never be registered. This is not 
implemented yet, and I am working on enabling it.
* Dubbo without Spring: Dubbo's Shutdown hook will registered automatically.

If you have found something unexpected, please file an issue and provide steps 
to reproduce.

[ Full content available at: 
https://github.com/apache/incubator-dubbo/issues/2435 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to