public ICommunicateChannel GetChannel(ConsumerContext consumerContext)
        {
            CheckConnection();

            if (!_channelPools.ContainsKey(consumerContext.GetConsumerKey()))
            {
                var channel = new CommunicateChannel(_connection, consumerContext);

                _channelPools.TryAdd(consumerContext.GetConsumerKey(), channel);

            }
            return _channelPools[consumerContext.GetConsumerKey()];
        }
 public bool ContainsChannel(ConsumerContext consumerContext)
 {
     return _channelPools.ContainsKey(consumerContext.GetConsumerKey());
 }