bindPrivateQueueConsumer abstract method

Future<Consumer> bindPrivateQueueConsumer(
  1. List<String>? routingKeys, {
  2. String consumerTag,
  3. bool noAck = true,
  4. bool noWait = false,
  5. Map<String, Object>? arguments,
})

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

You may specify 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 noWait and arguments parameters are used in the same way as they are in Channel.privateQueue.

Implementation

Future<Consumer> bindPrivateQueueConsumer(
  List<String>? routingKeys, {
  String consumerTag,
  bool noAck = true,
  bool noWait = false,
  Map<String, Object>? arguments,
});