Methods
bindPrivateQueueConsumer (List <String > ? routingKeys , {String consumerTag , bool noAck = true , bool noWait = false , Map <String , Object > ? arguments })
→ Future <Consumer >
Allocate a private Queue , bind it to this exchange using the supplied routingKeys
,
allocate a Consumer
and return a 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 })
→ Future <Consumer >
Allocate a named Queue , bind it to this exchange using the supplied routingKeys
,
allocate a Consumer
and return a Future<Consumer> .
delete ({bool ifUnused = false , bool noWait = false })
→ Future <Exchange >
Delete the exchange and return a Future<Exchange> to the deleted exchange.
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publish (Object message , String ? routingKey , {MessageProperties properties , bool mandatory = false , bool immediate = false })
→ void
Publish message
to the exchange. message
should be either a Uint8List , a String , a Map or Iterable .
If message
is Map or Iterable it will be encoded as JSON and the appropriate message properties
(content-type and content-encoding) will be set on the outgoing message. Any other message
value will
trigger an ArgumentError .
toString ()
→ String
A string representation of this object.
inherited