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 2022/01/12 12:44:12 UTC

[GitHub] [rocketmq-spring] lijunznb666 opened a new issue #424: 使用 ExtRocketMQTemplateConfiguration 注册拓展RocketMQTemplate 时 NPE

lijunznb666 opened a new issue #424:
URL: https://github.com/apache/rocketmq-spring/issues/424


   前提:使用 ExtRocketMQTemplateConfiguration 注册拓展RocketMQTemplate 时,消费者会在 set real producer 前启动;
   如果消费者处理完消息后马上发消息 而目前还没没执行到set real  producer 此时就会 报错 producer 为空
   


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-spring] lijunznb666 commented on issue #424: NPE when using ExtRocketMQTemplateConfiguration register RocketMQTemplate

Posted by GitBox <gi...@apache.org>.
lijunznb666 commented on issue #424:
URL: https://github.com/apache/rocketmq-spring/issues/424#issuecomment-1031410332


   > Hi, @lijunznb666 Could you submit a PR to solve this issue?
   
   ExtProducerResetConfiguration 实现 BeanPostProcessor 在bean初始化的时候处理   这个问题不只是消费者会出问题 在其他bean初始化完后发消息 如果 ExtRocketMQTemplateConfiguration 没初始化完 依旧会npe


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-spring] RongtongJin commented on issue #424: NPE when using ExtRocketMQTemplateConfiguration register RocketMQTemplate

Posted by GitBox <gi...@apache.org>.
RongtongJin commented on issue #424:
URL: https://github.com/apache/rocketmq-spring/issues/424#issuecomment-1031253102


   Hi, @lijunznb666 Could you submit a PR to solve this issue?


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org