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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content