public void StartConsumer() { this.logger.LogInformation("Waiting ANOTHER 5 seconds for RabbitMQ to boot..."); Thread.Sleep(5000); this.logger.LogInformation("5 seconds elapsed, calling StartConsumer!"); RabbitMqHelper.StartConsumer(this.channel, this.ReceiveMessage); }
public void StartConsumer() { RabbitMqHelper.StartConsumer(this.channel, this.ReceiveMessage); }