title: How do we listen on multiple queues using a single container in node-rhea?
body: <p>I have a node.js application in which I'm using <a href="https://www.npmjs.com/package/amqplib" rel="nofollow noreferrer">amqplib</a> which implements AMQP 0.9.1</p>
  
  <p>I have a multiple number of queues on which data is received.</p>
  
  <p>Each of these queues has a handler function which addresses the message on its respective queue.</p>
  
  <p>I'm upgrading to AMQP 1.0 using the <a href="https://www.npmjs.com/package/rhea" rel="nofollow noreferrer">rhea</a> library which has completely new concepts for message handling. I'm trying to address each of the message with a different handler for each queue, but I can't figure out how to listen to specific queue within a connection/session.</p>
  
  <p>I can only listen on the container level like done here: <a href="https://github.com/amqp/rhea/blob/HEAD/examples/simple_recv.js" rel="nofollow noreferrer">https://github.com/amqp/rhea/blob/HEAD/examples/simple_recv.js</a></p>
  
  <p>Do I need to open a new container on each queue? Is this the only way?</p>
  
  <p>Thanks in advance.</p>