Link to the Management spec draft - 

https://www.oasis-open.org/committees/download.php/54441/AMQP%20Management%20v1.0%20WD09

----- Original Message -----
> From: "Ganesh Murthy" <[email protected]>
> To: [email protected]
> Sent: Friday, July 1, 2016 10:26:46 AM
> Subject: Re: [Qpid-Dispatch] qdmanage query doesn't take into account the 
> name option when passed
> 
> 
> ----- Original Message -----
> > From: "Adel Boutros" <[email protected]>
> > To: [email protected]
> > Sent: Friday, July 1, 2016 9:00:53 AM
> > Subject: [Qpid-Dispatch] qdmanage query doesn't take into account the name
> > option when passed
> > 
> > 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.
> > 
> Use the READ operation to look up specific types by name. The READ operation
> is used to return a single entity. Try this -
> 
> qdmanage -b amqp://localhost:10250 READ --type=connector
> --name=localhost.broker.10253.connector
> 
> The QUERY operation could potentially return a large number of rows. The
> QUERY operation cares only about the type and will ignore name or identity
> if provided.
> 
> The documentation in the web site is being improved to reflect this
> information but in the meantime, you can reference the AMQP management spec
> (PDF attached). Please keep in mind that the spec is still in draft status.
> 
> > 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
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]

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

Reply via email to