qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Huston" <shus...@riverace.com>
Subject RE: Binary Data Transfer
Date Thu, 21 May 2009 16:31:21 GMT
Hi Wes,

> Is the Qpid C++ Client API capable of transferring binary 
> data?


> It seems like the only data type in 
> qpid/client/Message.h is the std::string (data field of 
> TransferContent.h).  

Also yes.

> I am interested in transferring segments of binary data, and 
> not ascii strings.  Is this possible with the current Qpid 
> C++ API implementation?  I have not researched the AMQP 
> protocol much yet, but had assumed this would be possible 
> with the wire protocol.  If it is not currently implemented, 
> but it is possible, would it be as simple as overridding the 
> TransferContent and Message classes and working backwards from

Use of std::string is a common source of questions here, but there's
no need to only put text in the string... Any sequence of bytes will
work. Just don't use the string manipulators that insert or assume nul


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

View raw message