chenta lee wrote:
Thank you!!Your explanation is very helpful! I will modify the code ASAP.
BTW, I didn't handle the type parser very well. Currently I can only handle
string and integer type. I am thinking maybe we can use the types defined in
"FieldValue" to create a map and register the corresponding type handler to
it. How do you think about that?
Yes, I'm afraid I don't handle the incoming data types terribly well
myself.
You may have noticed this comment in my source:
if (args) {
FieldTable::ValueMap::const_iterator v = args->begin();
for(; v != args->end(); ++v) {
// ### TODO: Do types properly
The right thing to do is to check the AMQP type here and convert to the
appropriate XQuery type. I'll do that to my source now and let you know
when I'm done ...
Jonathan
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org