[rabbitmq-discuss] is prefetch count available in erlang rabbitmq client
Alexis Richardson
alexis.richardson at gmail.com
Mon Sep 21 14:48:46 BST 2009
Folks,
FYI
Chris Duncan aka @bunny_amqp has written a note on prefetch and qos,
in the context of Bunny on Ruby:
http://bunnyamqp.wordpress.com/2009/09/20/bunny-quality-of-service-or-prefetch/
alexis
On Mon, Sep 21, 2009 at 2:00 PM, Ben Hood <0x6e6562 at gmail.com> wrote:
> Hey Mark,
>
> On Thu, Sep 17, 2009 at 7:56 PM, Mark <mark.geib at echostar.com> wrote:
>> Setting the prefetch count to one sounds like that will do what I need,
>> but I have not found how to do this in the erlang client. Is it there.?
>
> Yes, this is a simple RPC command that is exposed in the Erlang
> client. Just create a basic.qos record, set the prefetch_count field
> and send it via amqp_channel:call/2. There is a test case called
> basic_qos_test in the test_util module that illustrates this.
>
> Ben
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
More information about the rabbitmq-discuss
mailing list