<div>We have C and C++ code that needs to talk to RabbitMQ. I have a few questions about the C library.</div><div><br></div><div>I hope I have not missed something obvious, but Is there documentation for librabbitmq, the C library found at <a href="http://hg.rabbitmq.com/rabbitmq-c/" target="_blank">http://hg.rabbitmq.com/rabbitmq-c/</a> ? </div>
<div>
<br></div><div>I've also been using the Net::RabbitMQ Perl module for some tests. It's lacking a number of features available with RabbitMQ (which Emile has helped resolve). But, I'm a little unclear about the Perl module. It seems to included some version of the librabbitmq code -- for example amqp_api.c has some similarities with librabbitmq:<br>
<div><br></div><div><a href="http://hg.rabbitmq.com/rabbitmq-c/file/68f0c4b68086/librabbitmq/amqp_api.c#l122" target="_blank">http://hg.rabbitmq.com/rabbitmq-c/file/68f0c4b68086/librabbitmq/amqp_api.c#l122</a></div>
<div><a href="http://cpansearch.perl.org/src/JESUS/Net-RabbitMQ-0.1.8/amqp_api.c" target="_blank">http://cpansearch.perl.org/src/JESUS/Net-RabbitMQ-0.1.8/amqp_api.c</a></div>
<div><br></div><div>Does the Perl module embed the needed librabbitmq code because the library's API changes over time and would thus break? I would think a more typical approach would be for the Perl module to just link to librabbitmq so that the Perl module and the library can be managed separately.</div>
<div><br></div><div>So, my question (besides about documentation) is if I needed to update the Perl module for my use (to expose more features of RabbitMQ) would it be better to remove the embedded library code and instead try and link to librabbitmq installed separately?</div>
<div><br></div><div>My Perl XS and C skills are pretty rusty, so I suspect I'll need some additional help. If anyone is interested in helping with this please let me know.</div><div><br></div>
<div><br></div><div><br>-- <br>Bill Moseley<br><a href="mailto:moseley@hank.org" target="_blank">moseley@hank.org</a><br>
</div></div>