我们设立了两个经纪人。它可以工作两三天。突然间,每个经纪人都会尝试建立彼此的联系,但是因为
已经有相互连接,所以它会抛出一个javax.jms.InvalidClientIDException
。经纪人将在6秒后重试,同样的异常将会发生。
activemq.log
1:02:54,625 |信息|建立从vm:// MQServer1?async = false到tcp:// MQServer-2的网络连接:61618 | org.apache.activemq.network.DiscoveryNetworkConnector |通告-MulticastDiscoveryAgent侦听:DiscoveryNetworkConnector:NC:的BrokerService [MQServer1] 1:02:5597 |警告|由于javax.jms.InvalidClientIDException,无法添加连接MQServer1-> MQServer2-123456-123456788990-123:1:Broker:MQServer1 - 客户端:NC_MQServer2_inbound_MQServer1已从vm:// MQServer1#2连接| org.apache.activemq.broker.TransportConnection | triggerStartAsyncNetworkBridgeCreation:remoteBroker = tcp://MQServer-2/190.100.100.11:61618 @ 56430,localBroker = vm:// MQServer1#4 1:02:5597 |信息|由于本地错误,vm:// MQServer1#4和tcp://MQServer-2/190.100.100.11:61618 @ 56430之间的网络连接关闭:javax.jms.InvalidClientIDException:代理:MQServer1 - 客户端:NC_MQServer2_inbound_MQServer1已从vm连接:// MQServer1#2 | org.apache.activemq.network.DemandForwardingBridgeSupport | triggerStartAsyncNetworkBridgeCreation:remoteBroker = tcp://MQServer-2/190.100.100.11:61618 @ 56430,localBroker = vm:// MQServer1#4 1:02:55,144 |信息| MQServer2桥接到MQServer2停止| org.apache.activemq.network.DemandForwardingBridgeSupport | ActiveMQ BrokerService [MQServer1]任务-2043
wrapper.log
INFO | jvm 1 | 1:02:55 |信息|建立从vm:// MQServer1?async = false到tcp:// MQServer-2:61618的网络连接 信息| jvm 1 | 1:02:55 |警告|由于javax.jms.InvalidClientIDException,无法添加连接MQServer1-> MQServer2-123456-123456788990-123:1:Broker:MQServer1 - 客户端:NC_MQServer2_inbound_MQServer1已从vm:// MQServer1#2连接 信息| jvm 1 | 1:02:55 |信息|由于本地错误,vm:// MQServer1#4和tcp://MQServer-2/190.100.100.11:61618 @ 56430之间的网络连接关闭:javax.jms.InvalidClientIDException:代理:MQServer1 - 客户端:NC_MQServer2_inbound_MQServer1已从vm连接:// MQServer1#2 信息| jvm 1 | 1:02:55 |信息|到MQServer2的MQServer1桥接已停止