I am trying to implement a queue thread that listen to some messages. What is the fastest way to do it, this is one-process mulitple thread application.
Should I use Apache Qpid? or just a regular .NET Blocking Queue Class (as in http://www.eggheadcafe.com/articles/20060414.asp)?
I will be happy to hear your experience on this matter.
I am trying to implement a queue thread that listen to some messages. What
Share
I’d avoid any code that uses Thread.Sleep(). Until .NET 4.0 becomes widely available, consider using Joe Duffy’s BlockingQueue class.