[rabbitmq-discuss] How to handle distribution of message to either 1 OR many topics

Emile Joubert emile at rabbitmq.com
Thu Sep 20 11:52:49 BST 2012


Hi Alex,

On 20/09/12 03:23, Alex Gadea wrote:
> message 1: audit.webhook
> message 2: webhook
> message 3: email.audit.webhook.s3

You should take a look at section 3.1.3.3 (The Topic Exchange Type) in
the AMQP 0-9-1 specification which explains this:
http://www.rabbitmq.com/protocol.html

The 5th tutorial also has some useful information:
http://www.rabbitmq.com/tutorials/tutorial-five-python.html

#.webhook.# should capture all 3 messages.

If the publisher known exactly where a message should be routed then you
might want to consider Sender-selected distribution. However if you have
100s of destination queues then this is probably not relevant:
http://www.rabbitmq.com/sender-selected.html


-Emile



More information about the rabbitmq-discuss mailing list