Re: Network of brokers and priority network links

2021-11-04 Thread Gary Tully
way that I can set the base consumer priority in the xml config? > So that messages prefer to travel through certain brokers? > > Thanks again, big help. > > > From: Tim Bain > Sent: 03 November 2021 11:40 > To: ActiveMQ Users > Subject:

Re: Network of brokers and priority network links

2021-11-03 Thread Paul Burgess
Sent: 03 November 2021 11:40 To: ActiveMQ Users Subject: Re: Network of brokers and priority network links Use static:(failover:(stuff))?maxReconnectAttempts=0. Sorry for not remembering that it needed to be wrapped in static:(), the masterslave transport has mostly eliminated direct use of the fai

Re: Network of brokers and priority network links

2021-11-03 Thread Tim Bain
hUpdateException; nested > PropertyAccessExceptions (1) are: > PropertyAccessException 1: > org.springframework.beans.MethodInvocationException: Property 'uri' threw > exception; nested exception is java.io.IOException: DiscoveryAgent scheme > NOT recognized: [failover] > > > As said before

Re: Network of brokers and priority network links

2021-11-02 Thread Paul Burgess
r transport to > be available on network connectors, but it isn't. The closest thing is the > masterslave transport, which does not have fail-back (priority URI) > capabilities. If you try to use the failover transport (discovery agent) > then an exception will be thrown. > &g

Re: Network of brokers and priority network links

2021-11-02 Thread Tim Bain
f you try to use the failover transport (discovery agent) > then an exception will be thrown. > > Thanks again for the help, it's very much appreciated. > > > > From: Gary Tully > Sent: 02 November 2021 10:04 > To: users@activemq.a

Re: Network of brokers and priority network links

2021-11-02 Thread Paul Burgess
@activemq.apache.org Subject: Re: Network of brokers and priority network links there is one tweak with org.apache.activemq.network.NetworkBridgeConfiguration#setConsumerPriorityBase which could be used to bias the fast links, set that to -1 for the fast links and the others will default to -5, so ev

Re: Network of brokers and priority network links

2021-11-02 Thread Gary Tully
irm whether > this can be done. > > Thanks again > > > From: Jean-Baptiste Onofre > Sent: 01 November 2021 16:46 > To: users@activemq.apache.org > Subject: Re: Network of brokers and priority network links > > Hi Paul, > > If you are using ActiveMQ 5.x, you can de

Re: Network of brokers and priority network links

2021-11-01 Thread Paul Burgess
. Thanks again From: Jean-Baptiste Onofre Sent: 01 November 2021 16:46 To: users@activemq.apache.org Subject: Re: Network of brokers and priority network links Hi Paul, If you are using ActiveMQ 5.x, you can decrease network priority to allow local consumers first

Re: Network of brokers and priority network links

2021-11-01 Thread Jean-Baptiste Onofre
Hi Paul, If you are using ActiveMQ 5.x, you can decrease network priority to allow local consumers first and fallback to remote brokers else. Is it what you are looking for ? Regards JB > Le 1 nov. 2021 à 17:37, Paul Burgess a écrit : > > Hi, > > I'm trying to configure a network of brokers