Skip to content

Commit

Permalink
fix(): delete sysytem proerty
Browse files Browse the repository at this point in the history
  • Loading branch information
panzhi33 committed Dec 16, 2024
1 parent 8a900c0 commit caff42b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ public static org.apache.rocketmq.client.apis.message.Message getAndWrapMessage(
messageBuilder.setBody(payloads);
org.apache.rocketmq.client.apis.message.MessageBuilder builder = messageBuilder;
headers.forEach((key, value) ->
{
if (!RocketMQHeaders.SYSTEM_PROPERTY_SET.contains(key)) {
builder.addProperty(key, String.valueOf(value));
}
{
if (!RocketMQHeaders.SYSTEM_PROPERTY_SET.contains(key)) {
builder.addProperty(key, String.valueOf(value));
}
}

);
}
Expand Down

0 comments on commit caff42b

Please sign in to comment.