[rabbitmq-discuss] Flexible routing keys for topic exchange
mklishin at gopivotal.com
Thu Jun 19 09:28:16 BST 2014
On 19 June 2014 at 12:19:29, Rom Cabral (rom.t.cabral at gmail.com) wrote:
> > - send message to A,B,C (broadcast)
use a fanout
> - send to any combination AB, BC, AC
when a new queue is added, you'll have to list them in a consumer (or whatever app
declares them) and create multiple bindings, say
a.*, b.* and so on
> - send only to A, B, C
use the default exchange.
Topic exchange patterns cannot offer arbitrary permutations in (2) and are less than optimal
for (1) and (3).
Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss