This is an automated email from the ASF dual-hosted git repository.
mxsm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new 94dbdaaf7 [ISSUE 4309] Fix http process error (#4310)
94dbdaaf7 is described below
commit 94dbdaaf79b5cf1ed6ea6d7126977580ad257118
Author: Alonexc <[email protected]>
AuthorDate: Tue Aug 1 09:51:35 2023 +0800
[ISSUE 4309] Fix http process error (#4310)
---
.../eventmesh/protocol/meshmessage/MeshMessageProtocolAdaptor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/eventmesh-protocol-plugin/eventmesh-protocol-meshmessage/src/main/java/org/apache/eventmesh/protocol/meshmessage/MeshMessageProtocolAdaptor.java
b/eventmesh-protocol-plugin/eventmesh-protocol-meshmessage/src/main/java/org/apache/eventmesh/protocol/meshmessage/MeshMessageProtocolAdaptor.java
index 663718e5f..098f475c6 100644
---
a/eventmesh-protocol-plugin/eventmesh-protocol-meshmessage/src/main/java/org/apache/eventmesh/protocol/meshmessage/MeshMessageProtocolAdaptor.java
+++
b/eventmesh-protocol-plugin/eventmesh-protocol-meshmessage/src/main/java/org/apache/eventmesh/protocol/meshmessage/MeshMessageProtocolAdaptor.java
@@ -78,7 +78,7 @@ public class MeshMessageProtocolAdaptor implements
ProtocolAdaptor<ProtocolTrans
org.apache.eventmesh.common.protocol.http.header.Header header,
Body body) throws
ProtocolHandleException {
- switch (RequestCode.valueOf(requestCode)) {
+ switch (RequestCode.get(Integer.parseInt(requestCode))) {
case MSG_BATCH_SEND:
return SendMessageBatchProtocolResolver.buildEvent(header,
body);
case MSG_BATCH_SEND_V2:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]