You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/11/24 09:46:59 UTC
[GitHub] [rocketmq-clients] lizhanhui commented on issue #291: shutdownHook problems
lizhanhui commented on issue #291:
URL: https://github.com/apache/rocketmq-clients/issues/291#issuecomment-1326202711
> > This hook is provided by JVM, so you could implement your own part.
>
> Of course I know this hook is provided by JVM.
>
> For example, the sub class ProducerImpl.
>
> In Spring, When JVM received kill signal, this hook will be executed and ProducerImpl will be closed now,
>
> but I expect that when the spring bean is destroyed, we will invoke the ProducerImpl's close method.
@aaron-ai This case makes sense.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org