在 ActiveMQ Artemis 中向现有地址绑定添加添加队列的后果是什么

What are the consequences of adding a adding queues to existing address bindings in ActiveMQ Artemis

我查询的是基于 Apache ActiveMQ Artemis 的产品 Red Hat AMQ 7.X(我使用的是 7.2)。

基于Artemis documentation

您可以将多个队列关联到给定地址

假设此配置在生产中,我们需要添加第三个消费者并因此排队,需要考虑哪些注意事项?

第 3 个队列是否会收到所有先前的消息(猜测不会)?

第 3 个队列会得到所有未使用的消息吗(猜测不会)?

第 3 个队列是否会获得创建后发布的所有消息(猜测是)?

添加第三个队列会对现有队列 and/or 消费者产生任何影响吗?

添加第三个队列后的示例配置

<configuration>
    <core>
    <address name="address.foo">
      <anycast>
        <queue name="q1"/>
        <queue name="q2"/>
        <queue name="q3"/>
      </anycast>
    </address>
  </core>
</configuration>

Would the 3rd queue get all the prior messages (guessing no)?

没有

Would the 3rd queue get all the unconsumed messages (guessing no)?

没有

Would the 3rd queue get all the messages published after it was created (guessing yes)?

是的。

Would adding the 3rd queue have any consequences on the existing queues and/or consumers?

没有