activemq network broker different version

490 views Asked by At

i have an activemq network of broker using activemq 5.4.0. I have a central server with a broker and a consumer and many client with local broker and producer. I need to upgrade activemq to version 5.8.0. Upgrading the server, in local broker i continue to see central consumer, but messages remain in local broker.

For a netowork of broker, it's mandatory to have same version of activemq?

Thanks

2

There are 2 answers

0
user1197041 On BEST ANSWER

I solved in this way:

1) change configuration in network connector broker client 5.4.0 from

<networkConnectors>                       
     <networkConnector uri="static://(tcp://SERVERURL:61616)"
            name="bridge"
            duplex="true"
            conduitSubscriptions="true"
            decreaseNetworkConsumerPriority="false">                               
     </networkConnector>
</networkConnectors>

to

<networkConnectors>                       
    <networkConnector uri="static://(tcp://SERVERURL:61616)"
            name="bridge"
            duplex="true"
            conduitSubscriptions="true"
            decreaseNetworkConsumerPriority="false">               
            <dynamicallyIncludedDestinations>
                    <queue physicalName=">" />
            </dynamicallyIncludedDestinations>
     </networkConnector>
</networkConnectors>

2) upgrade server broker from 5.4.0 to 5.8.0 3) All works, also synchronous messages 4) Upgrade each broker client to 5.8.0 and test every message

1
Tim Bish On

Yes, mixing broker versions in a network of brokers is not a good idea. The testing done is always done using the same versions of the Broker.