[rabbitmq-discuss] Are there any good Perl AMQP libraries?

Miguel Morales therevoltingx at gmail.com
Wed Nov 9 06:55:38 GMT 2011


I've had a decent experience with combining POE, Component::Client::AMQP,
and Net::RabbitMQ.
You use the POE mechanism for creating an event loop.

On Tue, Nov 8, 2011 at 10:39 PM, Toby Corkindale <
toby.corkindale at strategicdata.com.au> wrote:

> On 09/11/11 17:34, Toby Corkindale wrote:
>
>> On 09/11/11 12:19, Al Tobey wrote:
>>
>>> > On Tue, Nov 8, 2011 at 4:47 PM, Toby Corkindale wrote:
>>>
>> <snip>
>>
>>> > However, I wondered if there are any decent AMQP libraries available
>>> > for Perl?
>>>
>>> I've seen, but not used Net::RabbitMQ.
>>> http://search.cpan.org/~jesus/**Net--RabbitMQ-0.2.2/RabbitMQ.**pm<http://search.cpan.org/~jesus/Net--RabbitMQ-0.2.2/RabbitMQ.pm>
>>>
>>
>> Hey Al,
>> I didn't think to search for RabbitMQ, just AMQP. >.<
>>
>> I've just been having a play with Net::RabbitMQ today, and am not
>> getting a great feeling about it. The documentation is, at best, sparse,
>> and in places simply incomplete.
>>
>> It also seems to be missing any kind of 'wait for message' functionality.
>> ie. As far as I can tell, you need to do a busy-loop on get, which'll
>> spin your CPU at 100% until a message comes in. Not ideal :/
>>
>> I'm filing a bug with the author about that now - I think they need to
>> add a method to expose amqp_simple_wait_frame() from the underlying C
>> library.
>>
>
> Ah, wait, the recv() method in Net::RabbitMQ does what I want; it's just
> not clear from the documentation at all. :/
>
> ______________________________**_________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.**rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
> https://lists.rabbitmq.com/**cgi-bin/mailman/listinfo/**rabbitmq-discuss<https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss>
>



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://solrpg.com/,
http://www.youtube.com/user/revoltingx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20111108/26170d4a/attachment.htm>


More information about the rabbitmq-discuss mailing list