apache / rocketmq-spring

Apache RocketMQ Spring Integration
https://rocketmq.apache.org/
Apache License 2.0
2.08k stars 894 forks source link

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

Open Haizi-cp opened 1 year ago

Haizi-cp commented 1 year ago

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.
francisoliverlee commented 1 year ago

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