activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devlin <rbasmaj...@ofiglobal.com>
Subject Re: Using failover with updateClusterClients, which one has precedence?
Date Thu, 02 Nov 2017 16:33:55 GMT
Ok, that won't help because our network is full graph. From the client's
perspective, is there a way to see the most updated failover connection
list? We're using these methods, but it always shows brokers in what appears
to be alphabetic order.

    BrokerInfo bInfo = connection.getBrokerInfo();
    BrokerInfo[] brokers = bInfo.getPeerBrokerInfos();


Also, regarding updateClientFilter on the transport connector, we want to
filter brokers by region, our broker IDs are simple, eastbroker1,
eastbroker2, and westbroker1, westbroker2, etc. The pattern in the
documentation has this:

updateClusterFilter=".*A.*,.*B.*"

..which I think means any broker id containing 'A', and then any brokers
containing 'B', so for our case, we would tighten that up with the following
to select brokers starting with 'east', then brokers starting with 'west'...

updateClusterFilter="east.*,den.*"

Is that correct?







--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Mime
View raw message