[rabbitmq-discuss] Flexible routing keys for topic exchange

Alvaro Videla videlalvaro at gmail.com
Thu Jun 19 09:23:48 BST 2014


Hi,

If you want to decide to which queues to send the message, but at
publishing time, then you might want to use the 'reverse topic exchange'

See more details on how to obtain the plugin here:
http://www.rabbitmq.com/community-plugins.html The plugin is called
'rabbitmq_rtopic_exchange' and also please carefully read the performance
details explained here
https://github.com/videlalvaro/rabbitmq-rtopic-exchange#performance

Regards,

Alvaro


On Thu, Jun 19, 2014 at 10:17 AM, Rom Cabral <rom.t.cabral at gmail.com> wrote:

> Hi guys,
>
> I would like to hear any suggestions to be able to design flexible routing
> keys. Below is my use case.
>
> If I have 3 queues A, B, C connected to an exchange, I would like to
> - send message to A,B,C (broadcast)
> - send to any combination AB, BC, AC
> - send only to A, B, C
>
> I can accomplish this by assigning key for each combination.
> Unfortunately, it will grow as the number of queues grow. What i want is to
> "*" and "#" in my design.
>
> Thanks,
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140619/a393cd1d/attachment.html>


More information about the rabbitmq-discuss mailing list