/** * @return AMQPChannelInterface **/ public function queueUnbind($name, $exchange, $routingKey) { try { return $this->channel->queueUnbind($name, $exchange, $routingKey); } catch (AMQPServerException $e) { return $this->transportReconnect($e)->queueUnbind($name, $exchange, $routingKey); } }
/** * @param AMQPChannelInterface $channel * @param AMQPPeclChannel $label * @return AMQPChannelInterface */ protected function queueUnbind(AMQPChannelInterface $channel, $label) { $this->assertTrue(isset(self::$queueList[$label])); $channelInterface = $channel->queueUnbind(self::$queueList[$label]['name'], self::$queueList[$label]['exchange'], self::$queueList[$label]['key']); $this->assertInstanceOf('AMQPChannelInterface', $channelInterface); return $channelInterface; }