提交 b822db06 编写于 作者: Z zhangxu16

Fix DLQ can't be query sometimes

上级 0a16ff6a
...@@ -341,7 +341,7 @@ public class SendMessageProcessor extends AbstractSendMessageProcessor implement ...@@ -341,7 +341,7 @@ public class SendMessageProcessor extends AbstractSendMessageProcessor implement
int queueIdInt = Math.abs(this.random.nextInt() % 99999999) % DLQ_NUMS_PER_GROUP; int queueIdInt = Math.abs(this.random.nextInt() % 99999999) % DLQ_NUMS_PER_GROUP;
topicConfig = this.brokerController.getTopicConfigManager().createTopicInSendMessageBackMethod(newTopic, topicConfig = this.brokerController.getTopicConfigManager().createTopicInSendMessageBackMethod(newTopic,
DLQ_NUMS_PER_GROUP, DLQ_NUMS_PER_GROUP,
PermName.PERM_WRITE, 0 PermName.PERM_WRITE | PermName.PERM_READ, 0
); );
msg.setTopic(newTopic); msg.setTopic(newTopic);
msg.setQueueId(queueIdInt); msg.setQueueId(queueIdInt);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册