What happens if 5 scheduled messages have the same _AMQ_SCHED_DELIVERY and _AMQ_LVQ_NAME in ActiveMQ Artemis?

huangapple go评论78阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年7月20日 21:57:42
  • 转载请务必保留本文链接:https://go.coder-hub.com/76730652.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定