RabbitMQ best practice for creating many consumers <p>We are just starting to use RabbitMQ with C#. My current plan is to configure in the database the number and kind of consumers to run on a given server. We have an existing windows service and when that starts I want to spawn all of the RabbitMQ consumers. My question is what is the best way to spwan these from a windows service? </p> <p>My current plan is to read the configuration out of the database and spawn a long running task for each consumer. </p> <pre><code> var t = new Task(() =&gt; { var instance = LoadConsumerClass(consumerEnum, consumerName); instance.StartConsuming();//blocking call }, TaskCreationOptions.LongRunning); t.Start(); </code></pre> <p>Is this better or worse than creating a thread for each consumer?</p> <pre><code> var messageConsumer = LoadConsumerClass(consumerEnum, consumerName); var thread = new Thread(messageConsumer.StartConsuming); </code></pre> <p>I'm hoping that more than a few others have already tried what I'm doing and can provide me with some ideas for what worked well and what didn't.</p>