You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/09/27 07:27:59 UTC

[GitHub] [rocketmq] RongtongJin opened a new issue #1491: RocketMQ spring will throw IllegalStateException when the spring application is closed

RongtongJin opened a new issue #1491: RocketMQ spring will throw IllegalStateException when the spring application is closed
URL: https://github.com/apache/rocketmq/issues/1491
 
 
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   RocketMQ spring will throw IllegalStateException when the spring application is closed
   refer [rocketmq-spring issue136](https://github.com/apache/rocketmq-spring/issues/136).
   2. Please tell us about your environment:
   Mac OS
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
   When producer invoke shutdown, shutdownhook of AsyncTraceDispatcher is removed.
   In RocketMQ spring, shutdown method of producer is invoked when the application is closed. While JVM is closing, and shutdown hook is removed at the same time, which causes IllegalStateException to be thrown.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services