bindQueueConsumer abstract method

Future<Consumer> bindQueueConsumer(
  1. String queueName,
  2. List<String> routingKeys, {
  3. String consumerTag,
  4. bool noAck = true,
  5. bool passive = false,
  6. bool durable = false,
  7. bool exclusive = false,
  8. bool autoDelete = false,
  9. bool noWait = false,
  10. bool declare = true,
})

Allocate a named Queue, bind it to this exchange using the supplied routingKeys, allocate a Consumer and return a Future<Consumer>.

You may specify a queue name and a consumerTag to label this consumer. If left unspecified, the server will assign a random tag to this consumer. Consumer tags are local to the current channel.

The noAck flag will notify the server whether the consumer is expected to acknowledge incoming messages or not.

The passive, durable, exclusive, autoDelete, noWait and declare parameters are used in the same way as they are in Channel.queue.

Implementation

Future<Consumer> bindQueueConsumer(
  String queueName,
  List<String> routingKeys, {
  String consumerTag,
  bool noAck = true,
  bool passive = false,
  bool durable = false,
  bool exclusive = false,
  bool autoDelete = false,
  bool noWait = false,
  bool declare = true,
});