qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: c++ 0.10 client, java 0.10 broker, headers exchange not routing
Date Tue, 19 Jul 2011 14:37:05 GMT
On 07/19/2011 03:30 AM, sreuland wrote:
> Having a problem with c++ 0.10 client sending messages to a headers exchange
> on a java 0.10 broker. Is this the correct method for c++ client to use when
> appending ascii string header values to an amqp message?
> qpid::messaging::Message.setProperty("xyz_header","XYZ123");

Try adding a line after that something like the following:


That will tell the library to encode the header as a utf8 string (there 
is no checking that it is valid utf8), and will indicate the java broker 
should treat it as a string rather than a byte array.

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org

View raw message