krashouk opened a new issue, #1889:
URL: https://github.com/apache/rocketmq-dashboard/issues/1889

   ## 问题描述
   
   项目已升级到 Spring Boot 3.4.5,并在依赖中排除了旧的 `javax.annotation-api`,但 
`UserMQAdminPoolManager#shutdownAllPools` 仍标注 
`javax.annotation.PreDestroy`。该生命周期注解与当前 Jakarta 
命名空间不一致,容器关闭时用户连接池清理回调可能无法注册或执行。
   
   ## 复现方式
   
   检查该类的销毁方法注解,并与项目中其余 `jakarta.annotation` 生命周期注解及 Spring Boot 3 依赖基线对比即可确认不一致。
   
   ## 预期行为
   
   销毁回调使用 `jakarta.annotation.PreDestroy`,Spring 容器关闭时关闭并清空所有用户 MQAdmin 池。
   
   ## 环境
   
   - 分支:`master`
   - 基线:`770822bbc812bfd0c2a94aa0128ab6f59b50d076`
   - Spring Boot:3.4.5
   - JDK:17
   
   ## 建议修复方向
   
   切换到 Jakarta 注解,并通过轻量生命周期或反射测试验证注解和池清理行为。


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to