Hello Ted/qpid developer,
Thanks for updating us about changes in the management protocol.
Just a quick thing here about "Configuration and Instrumentation Content
Messages"
+-----+-----+-----+-------+-----------------------+
| 'A' | 'M' | '1' |'g/c/i'| seq |
+-----+-----+-----+-------+-----------------------+--------+
| packageName (str8) |
+----------------------------------------------------------+
| className (str8) |
+----------------------------------------------------------+
| class hash (bin128) |
+-----+-----+-----+-----+-----+-----+-----+-----+----------+
| timestamp of current sample (datetime) |
+-----+-----+-----+-----+-----+-----+-----+-----+
| time object was created (datetime) |
+-----+-----+-----+-----+-----+-----+-----+-----+
| time object was deleted (datetime) |
+-----+-----+-----+-----+-----+-----+-----+-----+
| objectId (uint64) |
+-----+-----+-----+-----+-----+-----+-----+-----+------------------------+
| config/inst values (in schema order) |
+------------------------------------------------------------------------+
In this above illustrated structure, 1. what is "config/inst values (in
schema order)" 2. how can i access those elements (is this the AMQP map?)
are they same as the | propCnt | statCnt | methodCnt | eventCnt | values in
the Schema response?
I am accessing the field values upto objectID (uint64) by the following
code, but how would I access the further elements, i dont have clear idea.
SAMPLE CODE STARTS
----------
..
// decode the package name
String pakagename = decoder.readStr8();
// decode the class name
String classname = decoder.readStr8();
System.out.println("Package Name: " + pakagename);
System.out.println("Class Name: " + classname);
// decode the schema hash
decoder.readBin128();
// decode the timestamp of current sample
Date d1 = new Date(decoder.readDatetime());
System.out.println("Current Sample: " + d1.toString());
// decode the time object was created
Date d2 = new Date(decoder.readDatetime());
System.out.println("Object Created: " + d2.toString());
// decode the time object was deleted
Date d3 = new Date(decoder.readDatetime());
System.out.println("Object Deleted: " + d3.toString());
// Object Id
long objectID=decoder.readUint64();
System.out.println("Object Id: " + objectID);
... (what should be here to access "config/inst values (in schema order)"
from the above diagram ) ... ----- SAMPLE CODE ENDS
Thanks.
BR,
rahul