rangtao commented on issue #2435: Summary of several issues of graceful shutdown
URL: 
https://github.com/apache/incubator-dubbo/issues/2435#issuecomment-422225071
 
 
   @ralf0131 
    if you are using Dubbo 2.6.3 with Spring, Dubbo's Shutdown hook should 
never be registered.
   --这个您说错了,应该说2.6.3版本只有注册了DubboApplicationListener才能通过spring 
hook触发停机。框架中只有通过Main方法启动,框架的xml context会注册这个listener。比如springboot项目,通过注解启动,都不适用。
   

----------------------------------------------------------------
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to