Paolo Patierno created DISPATCH-374:
---------------------------------------

             Summary: qdmanage: using --type option with --name (or --identity) 
option causes a "Not found"
                 Key: DISPATCH-374
                 URL: https://issues.apache.org/jira/browse/DISPATCH-374
             Project: Qpid Dispatch
          Issue Type: Bug
    Affects Versions: 0.6.0
            Reporter: Paolo Patierno


Using the read operation with both --type and --name (or --identity) option 
works fine for something like a "connecto" for example.

[root@localhost /]# qdmanage -b localhost:5673 read --type connector --name 
BROKER
{
  "verifyHostName": true, 
  "stripAnnotations": "both", 
  "name": "BROKER", 
  "allowRedirect": true, 
  "idleTimeoutSeconds": 16, 
  "maxFrameSize": 65536, 
  "host": "127.0.0.1", 
  "cost": 1, 
  "role": "route-container", 
  "type": "org.apache.qpid.dispatch.connector", 
  "port": "5672", 
  "identity": "connector/127.0.0.1:5672:BROKER", 
  "addr": "127.0.0.1"
}

Using it for a linkRoute, address (and I guess autoLink) produces a NotFound 
error :

[root@localhost /]# qdmanage -b localhost:5673 read --type linkRoute --name 
my_queue_out
NotFoundStatus: Not Found

but executing same command without --type specified, it works well.

[root@localhost /]# qdmanage -b localhost:5673 read --name my_queue_out
{
  "name": "my_queue_out", 
  "prefix": "my_queue", 
  "connection": "BROKER", 
  "identity": "linkRoute/1", 
  "distribution": "linkBalanced", 
  "type": "org.apache.qpid.dispatch.router.config.linkRoute", 
  "dir": "out"
}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to