RockteMQ-AI commented on issue #776:
URL: 
https://github.com/apache/rocketmq-spring/issues/776#issuecomment-5486997001

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   This is a clear code defect in 
`RocketMQMessageListenerBeanPostProcessor.buildEnhancer()`. The composed 
`AnnotationEnhancer` lambda accumulates modifications into `newAttrs` but 
returns the original `attrs` map, making all registered enhancers silent no-ops.
   
   **Root Cause:** Return value uses `attrs` instead of `newAttrs` in the 
lambda.
   **Impact:** Any custom `AnnotationEnhancer` bean has no effect — attribute 
modifications are computed but discarded.
   **Severity:** High — silently breaks a documented extension point.
   
   A one-line fix (`return newAttrs` instead of `return attrs`) should resolve 
this.
   
   ---
   *Automated evaluation by RockteMQ-AI*


-- 
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]

Reply via email to