[rabbitmq-discuss] RabbitMQ .NET Client. Questions about QueueingBasicConsumer

Emile Joubert emile at rabbitmq.com
Thu Jul 7 09:54:26 BST 2011


Hi Mike,

On 07/07/11 09:10, Simone Busoli wrote:
> Hi Mike, I'm quite new to RabbitMQ but I think there are at least a
> couple of things you can look into. One is QoS, which regulates how many
> messages a consumer is being pushed in advance, setting it to 1 should

As Simone says, setting QoS on the channel will prevent a consumer from
being flooded by messages.

You may also want to look at the Subscription class, another wrapper
around QueueingBasicConsumer:

http://hg.rabbitmq.com/rabbitmq-dotnet-client/file/default/projects/client/RabbitMQ.Client/src/client/messagepatterns/Subscription.cs


-Emile


More information about the rabbitmq-discuss mailing list