On 18 Aug 2015 at 13:10:42, Laing, Michael (
michae...@nytimes.com) wrote:
> sender selected distribution (
http://www.rabbitmq.com/sender-selected.html)
> is what you are looking for.
>
> We use this to route the same message to multiple recipients.
>
> E.g.:
> routing_key: "A"
> header.CC: "B"
> body: "M"
>
> will route message M to both A and B.
Both Sender-Selected Distribution and topic/fanout exchanges are good options.
The downside of the former is that your publisher needs to be hyperaware of the queues.
--
MK
Staff Software Engineer, Pivotal/RabbitMQ