Honor excluded destinations in static routing on network connectors

Solution Unverified - Updated -

Issue

  • When a destination is part of staticallyIncludedDestinations and excludedDestinations then the excludedDestinations behavior is not obeyed and the messages are forwarded to the target AMQ instance.
networkConnectors>
            <networkConnector name="linkToTarget"
                uri="static:(tcp://localhost:61618)"
                networkTTL="3" userName="admin" password="admin">
                    <staticallyIncludedDestinations>
                      <queue physicalName="FOO.BAR"/>
                    </staticallyIncludedDestinations>
                    <excludedDestinations>
                      <queue physicalName="FOO.BAR" />
                    </excludedDestinations>
             </networkConnector>
  </networkConnectors>

Environment

  • Red Hat JBoss A-MQ
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.