How to set string property of AMQP message in qpid C++ client?

Solution Verified - Updated -

Issue

In C++ client of qpid broker, I can't set string application property of a message. Despite I set property type as string, it is sent as vbin16 AMQP type.

Other qpid clients (Python, Java) set the type to str16 by default. How to enforce str16 type in C++ client?

Environment

  • MRG Messaging (any version)
    • qpid-cpp-client RPM (any version)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.