Hello,

Using qpid-dispatch 0.6.0, I have noticed that qdmanage's query operation 
doesn't seem to take the "--name" option if passed. Only the type option is 
working.
As you can see from the example below, although I search for an absent entity 
named "localhost.broker.10253.connector", I end up with the list of all 
connectors.

PS: I tried both "--name=localhost.broker.10253.connector" and "--name 
localhost.broker.10253.connector"

Example
bash$ qdmanage -b amqp://localhost:10250 query --type=connector --name 
localhost.broker.10253.connector

[
  {
    "verifyHostName": true,
    "stripAnnotations": "both",
    "addr": "localhost",
    "allowRedirect": true,
    "idleTimeoutSeconds": 16,
    "maxFrameSize": 65536,
    "host": "127.0.0.1",
    "cost": 1,
    "role": "route-container",
    "type": "org.apache.qpid.dispatch.connector",
    "port": "10251",
    "identity": "connector/127.0.0.1:10251:localhost.broker.10251.connector",
    "name": "localhost.broker.10251.connector"
  },
  {
    "verifyHostName": true,
    "stripAnnotations": "both",
    "addr": "localhost",
    "allowRedirect": true,
    "idleTimeoutSeconds": 16,
    "maxFrameSize": 65536,
    "host": "127.0.0.1",
    "cost": 1,
    "role": "route-container",
    "type": "org.apache.qpid.dispatch.connector",
    "port": "10255",
    "identity": "connector/127.0.0.1:10255:test",
    "name": "test"
  }
]

Regards,
Adel
                                          

Reply via email to