public function createNamed($name, Channel $channel, Exchange $exchange)
    {
        $queue = new Queue($name, $channel, $exchange, $this->contextRegistry->getQueueContext($name));
        $this->registry->addQueue($queue);

        return $queue;
    }
public function createNamed($name, Channel $channel, Exchange $exchange)
    {
        $queue = new Queue($name, $channel, $exchange, $this->contextRegistry->getQueueContext($name));
        $this->registry->addQueue($queue);

        return $queue;
    }
@param string   $name
@param Channel  $channel
@param Exchange $exchange

@return Queue