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

@AutoConfigureAfter({MessageConverterConfiguration.class}) and @AutoConfigureBefore({RocketMQTransactionConfiguration.class}) not take effect,They are incorrect usage

Open Haizi-cp opened this issue 2 years ago • 1 comments

BUG REPORT

  1. Please describe the issue you observed: 1668228610407 @AutoConfigureAfter({MessageConverterConfiguration.class})and@AutoConfigureBefore({RocketMQTransactionConfiguration.class}) not take effect , They are incorrect usage.
  2. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc): @AutoConfigureAfter and @AutoConfigureBefore, only the autoConfiguration classes under spring.factories will be sorted. MessageConverterConfiguration.class and RocketMQTransactionConfiguration.class not under spring.factories , so, They are incorrect usage. i want to delete it to fix this problem.
  3. Influence now , It will not affect the function as a whole. but when someone read it or learn it and they think it's right.They will also write this in their own projects , this is not a good behavior.

Haizi-cp avatar Nov 12 '22 04:11 Haizi-cp

可以提供下复现问题的代码demo嘛 ?

francisoliverlee avatar Feb 01 '23 12:02 francisoliverlee