[rabbitmq-discuss] .NET client - prefetch issue
Matthias Radestock
matthias at rabbitmq.com
Tue Oct 22 09:29:55 BST 2013
On 21/10/13 21:29, elpatron wrote:
> Having this /exact/ same issue.
No, you are not. The OP was retrieving messages with basic.consume. You
are using basic.get. Big difference...
> Having set my qos thusly
>
> con.basicQos(0, 1, false)
>
> I am still consuming upper of 100 messages (using channel.basicGet( queue,
> false )) before I hit my very first ack.
basic.qos does not apply to basic.get. It really makes no sense for it
to do so since with basic.get the application is in complete control
over how many messages it is consuming before issuing an ack.
Matthias.
More information about the rabbitmq-discuss
mailing list