bindQueueConsumer abstract method
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,
});