qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: QMF2 protocol query only seems to support OBJECT target
Date Mon, 11 Jul 2011 09:59:16 GMT
On 07/10/2011 12:05 PM, fadams wrote:
> when I play around with other values in "_what" the result ends up
> sending an exception with text that implies unsupported target
>
> I've tried
>
> QMF_QUERY_TARGET := 'SCHEMA_ID' |
>                        'SCHEMA'    |
>                        'OBJECT_ID' |
>                        'OBJECT'
>
> but everything other than OBJECT fails so it doesn't look like I can query
> for schema information.
>
> Is this correct or have I missed something?

Looking at the code on the broker side it does indeed appear that schema 
requests are only currently implemented for QMFv1.

> To be fair the contents of the
> _values Map in the Map returned by the OBJECT query will give most of the
> schema info, but it would be good to be able to get hold of the method names
> for an object as well as the properties.

Yes, seems reasonable.

> BTW in case it hasn't escaped your notice from the class names in the code
> snippet above I've been getting a bit carried away and what started out as a
> bit of a play seems to be turning into an implementation for a good chunk of
> the QMF2 API for Java. Has anyone actually implemented this fully? I can't
> see it in the download, only the (broken) QMF1 classes, so I'm thinking it's
> a worthwhile exercise to write this. I've nearly got a Java port of
> qpid-config working - pointless, but fun......
>
>
> On a related note could anyone let me know how to query for Agents. My basic
> Console class currently only talks to the broker Agent via
> "qmf.default.direct/broker". I'm guessing querying for agents will be by
> sending a message to a topic/subject - could someone suggest the structure
> of the message and Address.

I'd have to defer to the experts on that one.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message