your application.
-Original Message-
From: Alan Conway [mailto:acon...@redhat.com]
Sent: Fri 5/22/2009 7:41 AM
To: users@qpid.apache.org
Subject: Re: Binary Data Transfer
Wes Parish wrote:
Is the Qpid C++ Client API capable of transferring binary data? It seems like the only data type in
-Original Message-
From: Alan Conway [mailto:acon...@redhat.com]
Sent: Fri 5/22/2009 7:41 AM
To: users@qpid.apache.org
Subject: Re: Binary Data Transfer
Wes Parish wrote:
> Is the Qpid C++ Client API capable of transferring binary data? It seems
> like the only data type in qpid/client/Mes
Wes Parish wrote:
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).
I am interested in transferring segments of binary data, and not ascii strings.
Is this possible
William,
Thanks for the code reference, that file had all of the examples I needed, and
it seemed to work well using the Buffer class.
Wes
-Original Message-
From: William Henry [mailto:whe...@redhat.com]
Sent: Thu 5/21/2009 11:22 AM
To: users@qpid.apache.org
Subject: Re: Binary Data
Hi Wes,
> Is the Qpid C++ Client API capable of transferring binary
> data?
Yes.
> 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 stri
To clarify further... You can put any arbitrary binary content into the
body of an AMQP message. William is illustrating how to use the AMQP
codec to safely encode typed data in binary form. Using the AMQP codec
allows you to not concern yourself with issues like endian-byte-order in
multi-b
Hi Wes,
It is possible. Unfortunately the only C++ example I can think of this is
currently in the management (QMF) code. I'll try to get another example out
soon.
Have a look here:
cpp/src/qpid/agent/ManagementAgentImpl.cpp
Simply, the steps are:
You create a Buffer and then use the various
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).
I am interested in transferring segments of binary data, and not ascii strings.
Is this possible with the current