[rabbitmq-discuss] .NET client Subscription constructor not using noAck parameter

Emile Joubert emile at rabbitmq.com
Tue Jan 4 17:56:23 GMT 2011


Hi Cameron,

On 04/01/11 17:35, Cameron Harris wrote:
> Hi,
>
> I think there's a bug in the Subscription class in the .NET client
> (http://hg.rabbitmq.com/rabbitmq-dotnet-client/file/43c71543a9f9/projects/client/RabbitMQ.Client/src/client/messagepatterns/Subscription.cs).
>
>
> On line 137, it appears that the constructor is not using the noAck
> parameter. Therefore, when calling BasicConsume, the noAck parameter is
> always its default value (false), which also contradicts the
> documentation for the class. I guess it's missing a m_noAck = noAck.

Thanks for bringing this to our attention. That is definitely a mistake 
which we will put right.

Regards

Emile


More information about the rabbitmq-discuss mailing list