qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fadams <fraser.ad...@blueyonder.co.uk>
Subject Re: QMF2 protocol query only seems to support OBJECT target
Date Sun, 17 Jul 2011 09:37:46 GMT
Hi again Gordon,
I've taken to looking through the C++ broker code to figure some of this out
and I'm afraid it's making my head EXPLODE :-)

So I've found ./cpp/src/qpid/management/ManagementAgent.cpp and the method
"handleGetQueryLH" does indeed say "Currently we only support OBJECT
queries".

handleGetQueryLH seems to be dispatched from dispatchAgentCommandLH which in
turn is called from dispatchCommand which seems to be called from
specialised Direct & Topic Exchanges

So far so good, but I also found
./cpp/src/qpid/agent/ManagementAgentImpl.cpp - looking at the headers this
*appears* to inherit from ManagementAgent - though I'm not clear what
behaviours it inherits..

This has a method handleGetQuery which has a lot of similarities with
handleGetQueryLH (though this seems to support "SCHEMA_ID" at least
partially) this seems to be dispatched from a received method, though I
couldn't figure out what calls that.


So what's the relationship between ManagementAgent and ManagementAgentImpl?
I grepped the code base and ManagementAgentImpl seems to be called by as a
Singleton but the getInstance doesn't seem to be called anywhere except some
testagent.cpp.

Have I missed something or should I just focus on the ./src/qpid/management
directory...

Cheers
Fraser




--
View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/QMF2-protocol-query-only-seems-to-support-OBJECT-target-tp6567622p6591528.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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


Mime
View raw message