rocketmq-spring icon indicating copy to clipboard operation
rocketmq-spring copied to clipboard

TransactionHandlerRegistry is not eligible for getting processed by all BeanPostProcessors

Open zcwease opened this issue 7 years ago • 2 comments

The issue tracker is ONLY used for bug report and feature request.

Any question or RocketMQ proposal please use our mailing lists.

BUG REPORT

  1. Please describe the issue you observed:
  • What did you do (The steps to reproduce)? springboot工程 版本:boot版本 2.1.3.RELEASE
org.apache.rocketmq rocketmq-spring-boot-starter 2.0.3 true

代码: @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对象

zcwease avatar Sep 17 '19 12:09 zcwease

TransactionHandlerRegistry will be removed in future version.

RongtongJin avatar Nov 27 '19 07:11 RongtongJin

Firstly, this issue can be assigned to me.

zongtanghu avatar Dec 18 '19 06:12 zongtanghu