示例#1
0
 public void Initialize(string connectionString)
 {
     _connection = RabbitMqConnectionManager.GetRabbitMqConnection(connectionString);
 }
        public void Initialize(string connectionString)
        {
            var connection = RabbitMqConnectionManager.GetRabbitMqConnection(connectionString);

            _channel = connection.CreateModel();
        }