I wish to write a windows service in .Net 2.0 that listens to and processes a Message Queue (MSMQ).
Rather than reinvent the wheel, can someone post an example of the best way to do it? It only has to process things one at a time, never in parallel (eg. Threads).
Essentially I want it to poll the queue, if there's anything there, process it, take it off the queue and repeat. I want to do this in a system-efficient way as well.
Thanks for any suggestions!