Merge pull request #4629 from fujian-zfj/develop-1

[ISSUE #4628] Fix bug in LMQ when checking multiple Dispatch Queue
This commit is contained in:
Heng Du
2022-07-18 20:02:30 +08:00
committed by GitHub
@@ -480,7 +480,7 @@ public class ConsumeQueue implements ConsumeQueueInterface, FileQueueLifeCycle {
return false;
}
Map<String, String> prop = dispatchRequest.getPropertiesMap();
if (prop == null && prop.isEmpty()) {
if (prop == null || prop.isEmpty()) {
return false;
}
String multiDispatchQueue = prop.get(MessageConst.PROPERTY_INNER_MULTI_DISPATCH);