Qpid
  1. Qpid
  2. QPID-3547

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

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.10
    • Fix Version/s: 0.15
    • Component/s: Python 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)

        Activity

        Fraser Adams created issue -
        Gordon Sim made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Gordon Sim [ gsim ]
        Fix Version/s 0.15 [ 12319043 ]
        Resolution Fixed [ 1 ]
        Robbie Gemmell made changes -
        Component/s Python Tools [ 12312301 ]
        Component/s Tools [ 12312450 ]
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development