TransactionHandlerRegistry is not eligible for getting processed by all BeanPostProcessors
The issue tracker is ONLY used for bug report and feature request.
Any question or RocketMQ proposal please use our mailing lists.
BUG REPORT
- Please describe the issue you observed:
- What did you do (The steps to reproduce)? springboot工程 版本:boot版本 2.1.3.RELEASE
代码: @Resource private RocketMQTemplate template;
public static void main(String[] args) {
SpringApplication.run(TestMqStarterApplication.class, args);
}
@Override
public void run(String... args) throws Exception {
template.convertAndSend("test-topic-1", "Hello, World!");
}
启动打印日志如下
2019-09-17 20:38:44.808 INFO 11892 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'rocketMQTemplate' of type [org.apache.rocketmq.spring.core.RocketMQTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-09-17 20:38:44.810 INFO 11892 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionHandlerRegistry' of type [org.apache.rocketmq.spring.config.TransactionHandlerRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
导致postprocessor无法得到RocketMQTemplate类型的bean对象
TransactionHandlerRegistry will be removed in future version.
Firstly, this issue can be assigned to me.