我在此配置中使用 ActiveMQ Classic:
client/producer -> ActiveMQ Classic -> ActiveMQ Classic
我需要将其更改为:
client/producer -> ActiveMQ Classic -> ActiveMQ Artemis
Classic 和 Artemis 之间的连接已建立,但 Artemis 在 Web 控制台上的 Classic 上作为消费者不可见。
网络连接器坏了?
消费者如何从Classic转向Artemis?
这是我的 amq 服务器 (amqhost1) 上的当前配置,它是另一个 amq 服务器 (amqhost2) 的生产者。需要更改配置并将 amqhost2 替换为 artemis:
<networkConnectors>
<networkConnector
name="amqhost1->amqhost2"
uri="static:(tcp://amqhost2_IP:61616)"
duplex="false"
decreaseNetworkConsumerPriority="true"
networkTTL="2"
dynamicOnly="true">
<excludedDestinations>
<topic physicalName=">" />
</excludedDestinations>
</networkConnector>
</networkConnectors>