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

Refactor TopicExchange to separate the topic-key lookup engine from the exchange

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.17
    • Component/s: C++ Broker
    • Labels:
      None

      Description

      The TopicExchange class has embedded in it a data structure called BindingNode that efficiently looks up routing keys in a tree of binding keys and locates matches.

      This improvement separates BindingNode from TopicExchange and makes it into a templated container class. The new class is called TopicKeyNode.

      The rationale for this change is to allow other uses of this lookup capability (i.e. for wildcard keys in ACLs, etc.)

        Attachments

          Activity

            People

            • Assignee:
              tedross Ted Ross
              Reporter:
              tedross Ted Ross
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: