Skip Menu |

This queue is for tickets about the Net--RabbitMQ CPAN distribution.

Report information
The Basics
Id: 72304
Status: open
Priority: 0/
Queue: Net--RabbitMQ

People
Owner: Nobody in particular
Requestors: TJC [...] cpan.org
Cc: toby.corkindale [...] strategicdata.com.au
AdminCc:

Bug Information
Severity: Important
Broken in: 0.2.2
Fixed in: (no value)



CC: toby.corkindale [...] strategicdata.com.au
Subject: missing "wait for frame" method call.
Hi, As far as I can tell, there is no way to do a "wait for frame" call in this module. (As of version 0.2.2) This is an important consideration - without this, one must resort to doing a busy-wait loop over get(), which isn't efficient at all. The rabbitmq library you're using has a amqp_simple_wait_frame() method, which is, I think, the one you should be exposing. Toby
Ah, wait, there's the recv() method; that wasn't clear to me. May I suggest putting a slightly more detailed pair of examples in the documentation? I was following the examples linked in another ticket here, which used the busy-loop method :(