public override void Send(string message) { using (var connection = MQFactory.CreateRabbitMQConnection()) { using (var channel = connection.CreateModel()) { channel.ExchangeDeclare(exchange: "Orders", type: "fanout"); var body = Encoding.UTF8.GetBytes(message); channel.BasicPublish(exchange: "logs", routingKey: "", basicProperties: null, body: body); } } }