[rabbitmq-discuss] R: Experimental RabbitMQ-C client - consumer

Lorenzo Rossi l.rossi.cons at vitrociset.it
Tue Mar 6 16:57:19 GMT 2012


Many thanks for the replies. I was also able to successfully compile SimpleAmgpClient!

Best,
Lorenzo

Lorenzo Rossi

Da: Alan Antonuk [mailto:alan.antonuk at gmail.com]
Inviato: martedì 6 marzo 2012 17:44
A: Lorenzo Rossi
Cc: rabbitmq-discuss at lists.rabbitmq.com
Oggetto: Re: [rabbitmq-discuss] Experimental RabbitMQ-C client - consumer

Currently we don't have a high-level consumer implementation as a part of the API for the rabbitmq-c library.  This is something I hope to remedy in the future.  For now I would recommend taking a look at one of the c++ wrappers out there (it looks like you've already found SimpleAmqpClient ).

Documentation is also (a high priority) thing on the todo list, that doesn't already exist yet.  The best you can do right now is look at the examples, and email the list if you have any specific questions.

-Alan
On Tue, Mar 6, 2012 at 9:30 AM, Lorenzo Rossi <l.rossi.cons at vitrociset.it<mailto:l.rossi.cons at vitrociset.it>> wrote:
Dear Experts,
I would use RabbitMQ-C in my project, but I can't figure out how the consumer works. I built and installed the C library RabbitMQ-C, and took a look at the examples to see how the producer and consumer work. Even if the producer implementation is straightforward, I see that the consumer works in a really low-level fashion, I mean, in amqp_consumer.c, there are many passages using amqp_simple_wait_frame(), aimed at receveing the message fragments (I suppose). Do the library have some high-level consumer function, similar to the java nextDelivery() method in the Consumer class?  Moreover, do the library have some documentation?

Thanks in advance,

Lorenzo

Lorenzo Rossi
_________________________________________
Vitrociset S.p.A.
Via Tiburtina, 1020 - 00156 Roma - Italia
+39 06 8820 3047<tel:%2B39%2006%208820%203047>

Questa e-mail ed ogni suo allegato sono confidenziali. Se li aveste ricevuti per errore, vogliate cortesemente darcene comunicazione subito e distruggere il messaggio ricevuto erroneamente dal Vostro sistema informatizzato. Per piacere non li utilizzate per nessun fine, o diffondete  il loro contenuto a nessun altra persona: fare ciò comporta violare le regole sulla privacy si cui al D. L.vo n. 196 /2003. Grazie per la cooperazione.
This e-mail and any attachment are confidential. If you have received them in error, you are on notice of their status.  Please notify us immediately by replying e-mail and then delete this message from your system.  Please do not copy or use them for any purposes, or disclose their contents to any other person:  to do so could be a breach of the Italian Privacy D. L.vo 196/2003. Thank you for your co-operation


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com<mailto:rabbitmq-discuss at lists.rabbitmq.com>
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120306/05b560cc/attachment.htm>


More information about the rabbitmq-discuss mailing list