public async Task StartConsumerAsync() { Debug.WriteLine("Starting Jira Consumer..."); _bus = ServiceBusProvider.GetRabbitMqConsumerBus(this, _configSettings.RabbitMqUri, _configSettings.SystemName, MachineInfo.GetMacAddress()); await _bus.StartAsync(); }
public async Task StartConsumerAsync() { Debug.WriteLine("Starting EasyAccessConsumer..."); _bus = ServiceBusProvider.GetRabbitMqConsumerBus(this, "rabbitmq://localhost", "EasyAccess", MachineInfo.GetMacAddress()); await _bus.StartAsync(); }