I am trying to let consumer listen to all queues in nameless exchange in consumer.php but i have to mention queue names as shown:
$this->channel->basic_consume('Cancelcontact', '', false, false, false, false, array($this, 'processMsg'));
$this->channel->basic_consume('Acceptcontact', '', false, false, false, false, array($this, 'processMsg'));
$this->channel->basic_consume('Declinecontact', '', false, false, false, false, array($this, 'processMsg'));
Is there any way to get names of all queues in channel and write single basic consume for same purpose??