[rabbitmq-discuss] IBasicConsumer.HandleBasicDeliver threading behavior

Matthias Radestock matthias at lshift.net
Mon Oct 26 21:56:28 GMT 2009


Allen,

Allen Jones wrote:
> The documentation makes it clear that the 
> IBasicConsumer.HandleBasicDeliver event handler is called on the 
> connection’s thread (i.e. single).  I just wanted to confirm that the 
> Model will only process messages one at a time i.e. there is no chance 
> that multiple HandleBasicDeliver calls will be executed concurrently. 
> Can somebody confirm?

Your assumption is correct... as long as you don't use the same 
IBasicConsumer instance in multiple IModels.


Regards,

Matthias.




More information about the rabbitmq-discuss mailing list