Spring.Messaging.Amqp.Rabbit
ConcurrentConsumers Property
See Also  Send Feedback
Spring.Messaging.Amqp.Rabbit.Listener Namespace > SimpleMessageListenerContainer Class : ConcurrentConsumers Property
Sets the number of concurrent consumers to create. Default is 1.

Syntax

C# 
public int ConcurrentConsumers {set;}

Return Value

The concurrent consumers.

Remarks

Raising the number of concurrent consumers is recommended in order to scale the consumption of messages coming in from a queue. However, note that any ordering guarantees are lost once multiple consumers are registered. In general, stick with 1 consumer for low-volume queues.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010 All Rights Reserved.