🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
How to integrate solace and protobuf C libraries together?
Need to serialize message as protobuf and send it thru Solace appliance.
Comments
-
Hi @cjasniew,
I don't know of a specific example with C, but @TomF wrote this blog a handful of years back that covers the generic steps you'd take to use protobuf (or other 3rd party data serialization systems) with Solace messages.Can you take a look and see if that gives you what you need? To simplify (maybe overly) do what you want using protobuf, serialize and stick it in the Solace message as a binary attachment. On the other side you would then grab the binary attachment, deserialize and you've got your object back.
By the way, we'd love it if you could share your code as an example of how to do this with
C
andprotobuf
when you figure it out0