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 ).<div>
<br></div><div>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.</div>
<div><br></div><div>-Alan<br><br><div class="gmail_quote">On Tue, Mar 6, 2012 at 9:30 AM, Lorenzo Rossi <span dir="ltr"><<a href="mailto:l.rossi.cons@vitrociset.it">l.rossi.cons@vitrociset.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="IT" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US">Dear Experts,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">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?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks in advance,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Lorenzo <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas">Lorenzo Rossi<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas">_________________________________________<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas">Vitrociset S.p.A.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas">Via Tiburtina, 1020 - 00156 Roma - Italia<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas"><a href="tel:%2B39%2006%208820%203047" value="+390688203047" target="_blank">+39 06 8820 3047</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas">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.
</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas">Grazie per la cooperazione.<u></u><u></u></span></p>
<p class="MsoNormal"><i><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas">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.
</span></i><i><span style="font-size:10.5pt;font-family:Consolas">Thank you for your co-operation<u></u><u></u></span></i></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>