英文:
What happens if 5 scheduled messages have the same _AMQ_SCHED_DELIVERY and _AMQ_LVQ_NAME in ActiveMQ Artemis?
问题
这个问题或者说它的答案让我想知道以下情况的结果会是什么:如果有5条包含完全相同的_AMQ_SCHED_DELIVERY
和_AMQ_LVQ_NAME
的不同消息会怎么样?在这种情况下,只会传递最新的一条吗?
英文:
This question or better to say the answer to it, made me wonder what would be the outcome of the following: having 5 different messages containing exactly the same _AMQ_SCHED_DELIVERY
and _AMQ_LVQ_NAME
? Would it be only the latest one in that case delivered?
答案1
得分: 0
ScheduledDeliveryRunnable会按顺序迭代5个具有相同的_AMQ_SCHED_DELIVERY和_AMQ_LVQ_NAME的计划消息。它们将一个接一个地放入队列,并将全部传递给已连接的消费者。
英文:
The ScheduledDeliveryRunnable will iterate the 5 scheduled messages with the same _AMQ_SCHED_DELIVERY and _AMQ_LVQ_NAME one at time. They will put onto the queue one at time and all of them will be delivered the connected consumers.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论