Howto get a list of exchange

2009-05-21 Thread M. Mariani
Hi all I'm new in qpid and is very difficult for me to find example for my needs. I need to cicle for all exchange defined in one broker with given name prefix like "xx.*" and look inside if there is messages to receive. // connection open // for each exchange in exchangesList(with prefix("xx.*"

RE: ATL Project

2009-05-21 Thread Steve Huston
Hi Mariano, > apologies my ignorance, but: No worries... > 1) what do you means when you write about "tss allocations" ? Could you try a test for me there? In qpid/cpp/src/qpid/sys/Thread.h there is this code: #ifdef _WIN32 # define QPID_TSS __declspec(thread) #elif defined (__GNUC__) # defi

RE: Binary Data Transfer

2009-05-21 Thread Steve Huston
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

Re: Binary Data Transfer

2009-05-21 Thread Ted Ross
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

Re: Binary Data Transfer

2009-05-21 Thread William Henry
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

Binary Data Transfer

2009-05-21 Thread Wes Parish
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

R: ATL Project

2009-05-21 Thread M. Mariani
Hi Steve apologies my ignorance, but: 1) what do you means when you write about "tss allocations" ? 2) is there another way to build my project to obtain my goal? Regards Mariano -Messaggio originale- Da: Steve Huston [mailto:shus...@riverace.com] Inviato: giovedì 21 maggio 2009 02:24