----- Original Message ----- > From: "Adel Boutros" <[email protected]> > To: [email protected] > Sent: Friday, July 1, 2016 11:23:29 AM > Subject: RE: [Qpid-Dispatch] qdmanage query doesn't take into account the > name option when passed > > I have one more question: What is considered a "Management entity"? > > I have a feeling the "READ" only works with the "connector" type because with > the other types, I am getting some weird exceptions: > > bash$ qdmanage -b amqp://localhost:10452 read --type=connector > BadRequestStatus: No name or identity provided > > bash$ qdmanage -b amqp://localhost:10452 read --type=address > Timeout: Connection amqp://localhost:10452/$management timed out: Waiting for > response This timeout error has been fixed on the master branch. Will be available in 0.7.0 release, please see https://issues.apache.org/jira/browse/DISPATCH-370 and https://issues.apache.org/jira/browse/DISPATCH-373 > > bash$ qdmanage -b amqp://localhost:10452 read --type=autoLinks > BadRequestStatus: No such entity type 'org.apache.qpid.dispatch.autoLinks' > It is --type=autoLink not --type=autoLinks. The timeout that you get has been fixed on the master branch. > Regards, > Adel > > > From: [email protected] > > To: [email protected] > > Subject: RE: [Qpid-Dispatch] qdmanage query doesn't take into account the > > name option when passed > > Date: Fri, 1 Jul 2016 16:52:59 +0200 > > > > Thank you Ganesh, > > > > Indeed the "read" operation is working with the "--name" option. > > > > Regards, > > Adel > > > > > Date: Fri, 1 Jul 2016 10:33:05 -0400 > > > From: [email protected] > > > To: [email protected] > > > Subject: Re: [Qpid-Dispatch] qdmanage query doesn't take into account the > > > name option when passed > > > > > > 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] > > > > > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
