code: public function createNamed($name, Channel $channel)
      {
          $exchange = new Exchange($name, $channel, $this->contextRegistry->getExchangeContext($name));
          $this->exchangeRegistry->addExchange($exchange);
  
          return $exchange;
      }
docs: @param string  $name
  @param Channel $channel
  
  @return Exchange