I know how to fix that particular problem in my snippet of code, I just need to remove pn_data_enter(body); and pn_data_next(body); and pn_data_exit(body); since that "field" is at the top level of the message.
My query is more about how to do it for all types, map, list, etc. in the general case for any arbitrary received message. I also saw pn_data_scan, but I read somewhere on this list it is type-safe or something to that effect. -- View this message in context: http://qpid.2158936.n2.nabble.com/Using-Qpid-Proton-0-4-to-iterate-over-arbitrary-AMQP-message-tp7595828p7595844.html Sent from the Apache Qpid users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
