src/ExchangeLocator/ContainerLocator.php
protected function initializeChannel(AMQPAwareMessage $message)
    {
        /** @var \Boekkooi\Bundle\AMQP\LazyChannel $channel */
        $channel = $this->container->get(sprintf(
            BoekkooiAMQPExtension::SERVICE_VHOST_CHANNEL_ID,
            $message->getVHost()
        ));

        return $channel->create(
            $this->getConnection($message)
        );
    }
protected function initializeChannel(AMQPAwareMessage $message)
    {
        /** @var \Boekkooi\Bundle\AMQP\LazyChannel $channel */
        $channel = $this->container->get(sprintf(
            BoekkooiAMQPExtension::SERVICE_VHOST_CHANNEL_ID,
            $message->getVHost()
        ));

        return $channel->create(
            $this->getConnection($message)
        );
    }
Get the @see \AMQPChannel instance for a @see AMQPAwareMessage instance.

@param AMQPAwareMessage $message
@return \AMQPChannel