NGLSL opened a new issue #3486:
URL: https://github.com/apache/rocketmq/issues/3486
**BUG REPORT**
1. Please describe the issue you observed:
发送批消息,在SendMessageHook中添加自定义用户Property
消费消息时,自定义的Property无法拿到,这个Property跑到timestamp中去了
版本:
Spring-rocketmq 2.2.1
Rocketmq 4.9.1
- What did you do (The steps to reproduce)?
发送消息:
```Java
List<Message<String>> messageList = new ArrayList<>();
for (int i = 0; i < 3; i++) {
Message<String> message = MessageBuilder.withPayload("test_" +
System.currentTimeMillis()).build();
messageList.add(message);
}
rocketMQTemplate.syncSend("test_topic", messageList);
```
SendMessageHook:
```Java
Message message = context.getMessage();
message.putUserProperty("TestUserProperty", "xxxx");
```
- What did you expect to see
发送消息添加的用户自定义Property

消费消息时,拿到的Properties不对
这个Property,跑到了timestamp中去了

2. Please tell us about your environment:
windows10
rocketmq 4.9.1
java8
--
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]