public ChannelProvider(ConnectionManagerFactory connectionManagerFactory)
 {
     _connectionManagerFactory = connectionManagerFactory;
     _connectionManager = _connectionManagerFactory.Create();
     _channel = _connectionManager.GetChannel();
 }