提交 bc3eeed4 编写于 作者: W wangyalou

fix: fix issue 2055

上级 8ef01a6c
......@@ -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.
先完成此消息的编辑!
想要评论请 注册