You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by li...@apache.org on 2022/06/30 03:51:47 UTC

[rocketmq-apis] branch main updated: Rename MESSAGE_PROPERTY_DOES_NOT_MATCH_MESSAGE_TYPE to MESSAGE_PROPERTY_CONFLICT_WITH_TYPE

This is an automated email from the ASF dual-hosted git repository.

lizhanhui pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-apis.git


The following commit(s) were added to refs/heads/main by this push:
     new 0d13320  Rename MESSAGE_PROPERTY_DOES_NOT_MATCH_MESSAGE_TYPE to MESSAGE_PROPERTY_CONFLICT_WITH_TYPE
0d13320 is described below

commit 0d13320a2164366a64f17badfca7e796b3d4a7ca
Author: Li Zhanhui <li...@gmail.com>
AuthorDate: Thu Jun 30 11:51:35 2022 +0800

    Rename MESSAGE_PROPERTY_DOES_NOT_MATCH_MESSAGE_TYPE to MESSAGE_PROPERTY_CONFLICT_WITH_TYPE
---
 apache/rocketmq/v2/definition.proto | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/apache/rocketmq/v2/definition.proto b/apache/rocketmq/v2/definition.proto
index 585bed8..3d40cbe 100644
--- a/apache/rocketmq/v2/definition.proto
+++ b/apache/rocketmq/v2/definition.proto
@@ -325,10 +325,13 @@ enum Code {
   ILLEGAL_FILTER_EXPRESSION = 40010;
   // Receipt handle of message is invalid.
   INVALID_RECEIPT_HANDLE = 40011;
-  // Message property is not match the message type.
-  MESSAGE_PROPERTY_DOES_NOT_MATCH_MESSAGE_TYPE = 40012;
+
+  // Message property conflicts with its type.
+  MESSAGE_PROPERTY_CONFLICT_WITH_TYPE = 40012;
+  
   // Client type could not be recognized.
   UNRECOGNIZED_CLIENT_TYPE = 40013;
+  
   // Message is corrupted.
   MESSAGE_CORRUPTED = 40014;
   // Request is rejected due to missing of x-mq-client-id header.