Aias00 commented on PR #10588: URL: https://github.com/apache/rocketmq/pull/10588#issuecomment-4885326392
Updated after review: removed the batch-level `putUserProperty` call from the inner-message preservation test, and added a null guard in `MessageBatch.putUserProperty` so a publicly constructed `MessageBatch(null)` still records the wrapper property without throwing while propagation is skipped. Also added a focused null-messages regression test. Verified with `mvn -pl common -Dtest=MessageEncodeDecodeTest,MessageBatchTest,MessageTest test`. -- 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]
