On 13/08/2019 1:31 am, Michael wrote:
Thank you for pointing me in the right direction. I ended up dragging
qpidmessaging.lib and qpidtypes.lib from the RelWithDebInfo directory into
the project in VS and that did the trick.

Just a marginal question: Now I can use
qpid::messaging::Message::getContentObject() but it's still printed as bytes
in ASCII. Does that mean that the message cannot be represented as a map or
list? (I'm inspecting messages sent from a third party that appear to be C++
maps).

If they were AMQP encoded I would expect them to be decoded into a Variant::Map for which there is an output operator (<<) defined.

What is the content type set to? Or is it set? Do you know the encoding in which the body is being sent? This is over an AMQP 1.0 connection, is that right?

If you run a simple receiver with QPID_LOG_ENABLE=trace+:Protocol, then it will log details of the frames received and we may be able to deduce the format (or at least rule some out) from that.

(BTW on an unrelated point, have you also considered the proton c++ client? It is a different style, being entirely event driven, but it would be worth at least a look if you are at the proof of concept stage).


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to