public Producer(IRabbitMqConnection connection) { _connection = connection; _channel = _connection.CreateNewChannel(); }
public Consumer(IRabbitMqConnection connection) { _connection = connection; _channel = connection.CreateNewChannel(); }