dugenkui03 commented on PR #4093:
URL: https://github.com/apache/rocketmq/pull/4093#issuecomment-1107865912

   > is there any usage scenarios?
   
   Similar to `Collections.unmodifiable`,  this pr is aim to provide 
thread-safe view for the convenience of using `Message` concurrent application.
   
   #### Describe in Chinese
   当前情况是只要开发者需要在并发环境下修改`Message`、尤其是`properties`,就要自定义一套加锁策略。
   
   该PR类似 `Collections.unmodifiable`,目的是给`Message`提供线程安全的视图、方便用户在并发环境中修改Message。


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