RockteMQ-AI commented on issue #776: URL: https://github.com/apache/rocketmq-spring/issues/776#issuecomment-5395036478
**Issue Evaluation** Category: `bug` | Status: **Confirmed** Clear code defect. The `buildEnhancer()` method accumulates modifications into `newAttrs` through the enhancer chain but returns the original `attrs` instead of `newAttrs`, silently discarding all modifications. **Root Cause:** Return statement bug — `return attrs` should be `return newAttrs`. **Impact:** All registered `AnnotationEnhancer` beans are silently no-op. Any custom annotation modification logic (e.g., dynamic topic/consumer group resolution) is completely broken. **Severity:** High (feature completely non-functional) The fix is a one-line change: `return attrs` → `return newAttrs`. --- *Automated evaluation by github-manager* -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
