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

   **Issue Evaluation**
   
   Category: `bug` | Status: **Needs Info**
   
   The `cannot convert message to java.util.List<java.Long>` error typically 
occurs due to Java type erasure — at runtime, the generic type `List<Long>` is 
erased to `List`, and the deserializer cannot determine the element type.
   
   **To help diagnose, please provide:**
   - [ ] The exact producer code (how the message is serialized)
   - [ ] The RocketMQ Spring Boot starter version
   - [ ] Whether the message body is JSON or RocketMQ native serialization
   - [ ] The full stack trace
   
   **Common fix:** Ensure the producer serializes as JSON 
(`JSON.toJSONString(orderIds)`) and the consumer uses 
`@RocketMQMessageListener` with a concrete type or custom `MessageConverter`.
   
   ---
   *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