Checking MSMQ message queue count with C#

I noticed the other day a team member was having exceptions being thrown every second when idle in a service.  Digging deeper it was revealed that the MSMQ Distributor has some code that peeks into a queue to determine if to process messages in the Enterprise Library logging framework.  I devised I think a better…

0