lizhanhui commented on code in PR #5483:
URL: https://github.com/apache/rocketmq/pull/5483#discussion_r1017677151


##########
client/src/main/java/org/apache/rocketmq/client/impl/consumer/ProcessQueue.java:
##########
@@ -334,6 +334,27 @@ public List<MessageExt> takeMessages(final int batchSize) {
         return result;
     }
 
+    /**
+     * Return the result that whether current message is exist in the process 
queue or not.
+     */
+    public boolean hasMessage(MessageExt message) {

Review Comment:
   `hasMessage` --> `containsMessage`
   appears easier to comprehend



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