You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by ma...@apache.org on 2022/11/11 06:27:26 UTC

[incubator-eventmesh] branch master updated: issue 2163

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

majorhe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git


The following commit(s) were added to refs/heads/master by this push:
     new 136a1fbe issue  2163
     new 5ad61b98 Merge pull request #2164 from zhaoyansheng163/master
136a1fbe is described below

commit 136a1fbe02ef2bff3d8cf66a8f36c111f42dbda9
Author: test <te...@123.com>
AuthorDate: Fri Nov 11 13:04:00 2022 +0800

    issue  2163
---
 .../runtime/core/protocol/http/processor/SendSyncMessageProcessor.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/processor/SendSyncMessageProcessor.java b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/processor/SendSyncMessageProcessor.java
index dfd79556..43600697 100644
--- a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/processor/SendSyncMessageProcessor.java
+++ b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/processor/SendSyncMessageProcessor.java
@@ -281,7 +281,7 @@ public class SendSyncMessageProcessor implements HttpRequestProcessor {
                                         String.valueOf(System.currentTimeMillis()))
                                 .build();
                         final String rtnMsg = new String(Objects.requireNonNull(event.getData()).toBytes(),
-                                EventMeshConstants.DEFAULT_CHARSET);
+                                StandardCharsets.UTF_8);
 
                         HttpCommand succ = asyncContext.getRequest().createHttpCommandResponse(
                                 sendMessageResponseHeader,


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org