Skip to content

Commit

Permalink
[ISSUE 4309] Fix http process error (apache#4310)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alonexc authored Aug 1, 2023
1 parent 77b87f9 commit 94dbdaa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private CloudEvent deserializeHttpProtocol(String requestCode,
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:
Expand Down

0 comments on commit 94dbdaa

Please sign in to comment.