qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adel Boutros <adelbout...@live.com>
Subject RE: [Qpid-Dispatch] qdmanage query doesn't take into account the name option when passed
Date Fri, 01 Jul 2016 15:32:08 GMT
PS: If I remove the "s" from  "autoLinks", I get:

bash$ qdmanage -b amqp://localhost:10452 read --type=autoLink
ConnectionException: Connection amqp://localhost:10452/$management disconnected

> From: adelboutros@live.com
> To: users@qpid.apache.org
> Subject: RE: [Qpid-Dispatch] qdmanage query doesn't take into account the name option
when passed
> Date: Fri, 1 Jul 2016 17:23:29 +0200
> 
> 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
> 
> bash$ qdmanage -b amqp://localhost:10452 read --type=autoLinks
> BadRequestStatus: No such entity type 'org.apache.qpid.dispatch.autoLinks'
> 
> Regards,
> Adel
> 
> > From: adelboutros@live.com
> > To: users@qpid.apache.org
> > 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: gmurthy@redhat.com
> > > To: users@qpid.apache.org
> > > 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" <gmurthy@redhat.com>
> > > > To: users@qpid.apache.org
> > > > 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" <adelboutros@live.com>
> > > > > To: users@qpid.apache.org
> > > > > 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: users-unsubscribe@qpid.apache.org
> > > > For additional commands, e-mail: users-help@qpid.apache.org
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> > > For additional commands, e-mail: users-help@qpid.apache.org
> > > 
> >  		 	   		  
>  		 	   		  
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message