static void Main(string[] args) { Console.WriteLine("Starting RabbitMQ queue processor"); Console.WriteLine(); Console.WriteLine("ROUTING KEY: *.medium.*"); Console.WriteLine("ROUTING KEY: corporate.#"); Console.WriteLine(); var queueProcessor = new RabbitConsumer() { Enabled = true }; queueProcessor.Start(); Console.ReadLine(); }
private static void Start(string[] args) { // onstart code here var queueProcessor = new RabbitConsumer() { Enabled = true }; queueProcessor.Start(); }