You need to sign in or sign up before continuing.
未验证 提交 c63ec20d 编写于 作者: H Heng Du 提交者: GitHub

Merge pull request #2058 from RealBar/fix/issue2055

[ISSUE #2055] Fix NPE in SendMessageProcessor.handleRetryAndDLQ
......@@ -178,7 +178,10 @@ public class SendMessageProcessor extends AbstractSendMessageProcessor implement
int maxReconsumeTimes = subscriptionGroupConfig.getRetryMaxTimes();
if (request.getVersion() >= MQVersion.Version.V3_4_9.ordinal()) {
maxReconsumeTimes = requestHeader.getMaxReconsumeTimes();
Integer times = requestHeader.getMaxReconsumeTimes();
if (times != null) {
maxReconsumeTimes = times;
}
}
if (msgExt.getReconsumeTimes() >= maxReconsumeTimes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册