Skip to content

Commit

Permalink
[ISSUE apache#2898] Resolve rocketmq-example project failed during ch…
Browse files Browse the repository at this point in the history
…eckstyle execution
  • Loading branch information
zhangjidi2016 committed May 17, 2021
1 parent be6eaf8 commit fbb35d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public LocalTransactionState checkLocalTransaction(MessageExt msg) {

try {
Message msg = new Message("TopicTest", "Tag", "KEY",
("Hello RocketMQ").getBytes(RemotingHelper.DEFAULT_CHARSET));
"Hello RocketMQ".getBytes(RemotingHelper.DEFAULT_CHARSET));
SendResult sendResult = producer.sendMessageInTransaction(msg, null);
System.out.printf("%s%n", sendResult);
} catch (MQClientException | UnsupportedEncodingException e) {
Expand Down

0 comments on commit fbb35d3

Please sign in to comment.