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

qpid-config currently doesn't display useful information about headers exchange bindings

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.10
    • Fix Version/s: 0.15
    • Component/s: C++ Tools
    • Labels:
    • Environment:

      qpid-config python tool

      Description

      qpid-config doesn't display useful binding information for headers exchange bindings, for the headers exchange the binding key is really just a handle.

      The most basic fix would be to test for the presence of bind.arguments in the QueueListRecurse and ExchangeListRecurse methods and if present to display the bind.arguments.

      For example in QueueListRecurse:

      if bind.arguments:
      print " bind [%s] => %s %s" % (bind.bindingKey, ename, bind.arguments)
      else:
      print " bind [%s] => %s" % (bind.bindingKey, ename)

      and in ExchangeListRecurse:

      if bind.arguments:
      print " bind [%s] => %s %s" % (bind.bindingKey, qname, bind.arguments)
      else:
      print " bind [%s] => %s" % (bind.bindingKey, qname)

        Attachments

          Activity

            People

            • Assignee:
              gsim Gordon Sim
              Reporter:
              fadams Fraser Adams
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: