|
As of October 27th, please open all new issues in the Red Hat Customer Portal . |
|
Also, note that failover should only be used with a network connector of the maxReconnectAttempts=0 because the network connector needs to be aware of transport failures so that it can recreate the forwarding bridge.
linking to https://issues.apache.org/jira/browse/AMQ-3384
I spoke with Gary on this issue this morning. For the work around to work in my testing the destinationFilter needed to be defined in order to get messages to flow from the 5.3.x broker to 5.5.x broker. The configuration used was as follows:
<networkConnectors>
<networkConnector uri="static:(failover:(tcp://localhost:63616)?maxReconnectAttempts=0)?useExponentialBackOff=false;maxReconnectDelay=30000"
name="bridge-551-to-5304M"
networkTTL="6"
duplex="true"
dynamicOnly="false"
conduitSubscriptions="true"
decreaseNetworkConsumerPriority="false"
destinationFilter="Legacy,ActiveMQ.Advisory.Consumer.Topic.TEST">
<excludedDestinations>
</excludedDestinations>
<dynamicallyIncludedDestinations>
<topic physicalName="TEST"/>
</dynamicallyIncludedDestinations>
<staticallyIncludedDestinations>
</staticallyIncludedDestinations>
</networkConnector>
</networkConnectors>
|
||||||||||||||||||||||||||||||||||||||||||||
The workaround is to specify a non default destination filter with a dummy value that can consume the prepended "ActiveMQ.Advisory.Consumer." that is added in 5.3.x
If there are no dynamicallyIncludedDestinations, a value for destinationFilter of "Legacy,ActiveMQ.Advisory.Consumer.>" will suffice.
Otherwise, adding a dummy "legacy" destination to the list of dynamically included destinations will work.
<dynamicallyIncludedDestinations> <topic physicalName="Legacy"/> <topic physicalName="TEST"/> </dynamicallyIncludedDestinations>[1] https://issues.apache.org/jira/browse/AMQ-3384