示例#1
0
        public Task Stop(CancellationToken cancellationToken)
        {
            _logger.LogInformation($"Stoping RabbitMQ EventBus {Name}");

            _connection.Close();

            return(Task.CompletedTask);
        }