Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7876

qpid-route does not properly consider src-local when matching bridges

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • qpid-cpp-1.36.0
    • qpid-cpp-1.37.0
    • C++ Broker
    • None

    Description

      qpid-route does not properly consider src-local when matching bridges. The practical upshot of this is that it may consider routes to be duplicates when they are in fact not.

      Take the following (slightly contrived) scenario:
      Brokers A and B both have queues named "test.queue" and default exchanges named "amq.direct".
      We would like a queue route to pull messages from B:test.queue to A:amq.direct and a src_local route to push messages from A:test.queue to B:amq.direct. Since qpid-route does not consider the src-local flag, it will regard the second route to be a duplicate and will not allow it to be added.

      Attachments

        1. test-routes.sh
          2 kB
          Chris Richardson

        Issue Links

          Activity

            People

              gsim Gordon Sim
              chris.richardson Chris Richardson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified