From eb2396494cd78b222b026090054f4e915503b4c4 Mon Sep 17 00:00:00 2001 From: jovezhao Date: Fri, 11 Mar 2022 14:51:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AE=80=E5=8C=96messageRecord=E5=AD=98?= =?UTF-8?q?=E5=85=A5=E7=BC=93=E5=AD=98=E7=9A=84=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zhaofujun/nest/context/event/store/DefaultMessageStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nest-ddd/src/main/java/com/zhaofujun/nest/context/event/store/DefaultMessageStore.java b/nest-ddd/src/main/java/com/zhaofujun/nest/context/event/store/DefaultMessageStore.java index e404a1b5..7a0d9300 100644 --- a/nest-ddd/src/main/java/com/zhaofujun/nest/context/event/store/DefaultMessageStore.java +++ b/nest-ddd/src/main/java/com/zhaofujun/nest/context/event/store/DefaultMessageStore.java @@ -19,7 +19,7 @@ public DefaultMessageStore() { @Override public void save(MessageRecord messageRecord) { try { - cacheClient.put(messageRecord.getMessageInfo().getMessageId() + "-" + messageRecord.getHandlerName(), messageRecord); + cacheClient.put(messageRecord.getMessageInfo().getMessageId() + "-" + messageRecord.getHandlerName(), "0"); } catch (Exception ex) { logger.warn("缓存通道异常", ex); }