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

                 Key: QPID-3547
                 URL: https://issues.apache.org/jira/browse/QPID-3547
             Project: Qpid
          Issue Type: New Feature
          Components: Tools
    Affects Versions: 0.10
         Environment: qpid-config python tool
            Reporter: Fraser Adams
            Priority: Trivial


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)
 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to