diff --git a/common/src/main/java/org/apache/rocketmq/common/message/MessageBatch.java b/common/src/main/java/org/apache/rocketmq/common/message/MessageBatch.java index ca2ce88ec7c523aa26ae0459643913435abc6e25..a6b801edab59b1c5774aa9f8729d98af13ec53a8 100644 --- a/common/src/main/java/org/apache/rocketmq/common/message/MessageBatch.java +++ b/common/src/main/java/org/apache/rocketmq/common/message/MessageBatch.java @@ -46,7 +46,7 @@ public class MessageBatch extends Message implements Iterable { Message first = null; for (Message message : messages) { if (message.getDelayTimeLevel() > 0) { - throw new UnsupportedOperationException("TimeDelayLevel in not supported for batching"); + throw new UnsupportedOperationException("TimeDelayLevel is not supported for batching"); } if (message.getTopic().startsWith(MixAll.RETRY_GROUP_TOPIC_PREFIX)) { throw new UnsupportedOperationException("Retry Group is not supported for batching");