public function channel($name, $options = [])
    {
        if (empty($this->_channels[$name])) {
            $this->_channels[$name] = new AMQPChannel($this->connection());
            if (!empty($options['prefetchCount'])) {
                $this->_channels[$name]->setPrefetchCount((int)$options['prefetchCount']);
            }
        }

        return $this->_channels[$name];
    }