Sending a binary message with RabbitQM SimpleAmqpClient

  amqp, c++, rabbitmq

I’m writing in C++ and want to send binary data (Serialized Google Protobufs) using the SimpleAmqpClient library. The only message type I see is BasicMessage. The only way to populate a BasicMessage seems to be with an std::string. Is publishing a BasicMessage with an std::string holding binary data (GProtobufs serialize themselves this way) going to work?

Source: Windows Questions C++