static void Main(string[] args) { var onlineStoreMq = new OnlineStoreMq(); Console.WriteLine("Starting to read from the queue"); while (true) { onlineStoreMq.ConsumeMessage(); } }
public CustomerService() { _onlineStoreMq = new OnlineStoreMq(); }