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

有帮助吗?

解决方案

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

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top