I&#39;ve had a decent experience with combining POE,�Component::Client::AMQP, and�Net::RabbitMQ.<div>You use the POE mechanism for creating an event loop.</div><br><div class="gmail_quote">On Tue, Nov 8, 2011 at 10:39 PM, Toby Corkindale <span dir="ltr">&lt;<a href="mailto:toby.corkindale@strategicdata.com.au">toby.corkindale@strategicdata.com.au</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 09/11/11 17:34, Toby Corkindale wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 09/11/11 12:19, Al Tobey wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt; On Tue, Nov 8, 2011 at 4:47 PM, Toby Corkindale wrote:<br>
</blockquote>
&lt;snip&gt;<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt; However, I wondered if there are any decent AMQP libraries available<br>
&gt; for Perl?<br>
<br>
I&#39;ve seen, but not used Net::RabbitMQ.<br>
<a href="http://search.cpan.org/~jesus/Net--RabbitMQ-0.2.2/RabbitMQ.pm" target="_blank">http://search.cpan.org/~jesus/<u></u>Net--RabbitMQ-0.2.2/RabbitMQ.<u></u>pm</a><br>
</blockquote>
<br>
Hey Al,<br>
I didn&#39;t think to search for RabbitMQ, just AMQP. &gt;.&lt;<br>
<br>
I&#39;ve just been having a play with Net::RabbitMQ today, and am not<br>
getting a great feeling about it. The documentation is, at best, sparse,<br>
and in places simply incomplete.<br>
<br>
It also seems to be missing any kind of &#39;wait for message&#39; functionality.<br>
ie. As far as I can tell, you need to do a busy-loop on get, which&#39;ll<br>
spin your CPU at 100% until a message comes in. Not ideal :/<br>
<br>
I&#39;m filing a bug with the author about that now - I think they need to<br>
add a method to expose amqp_simple_wait_frame() from the underlying C<br>
library.<br>
</blockquote>
<br></div>
Ah, wait, the recv() method in Net::RabbitMQ does what I want; it&#39;s just not clear from the documentation at all. :/<div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>~ Jeremiah:9:23-24<br>Android 2D MMORPG: <a href="http://solrpg.com/" target="_blank">http://solrpg.com/</a>,�<a href="http://www.youtube.com/user/revoltingx" target="_blank">http://www.youtube.com/user/revoltingx</a><br>