[rabbitmq-discuss] What purpose do the default exchanges in a vhost serve?
videlalvaro at gmail.com
Tue Dec 4 11:30:56 GMT 2012
The amq.* exchanges are dictated by the AMQP spec.
The unnamed exchange can be used in your app with various purposes. For
example: every queue gets bound to the "anon" exchange using the queue name
as routing key. That means you can send a message directly to a queue by
channel.publish(msg, '', 'queue-name')
That's quite useful in RPC scenarios, or to send messages to anon queues
On Tue, Dec 4, 2012 at 12:24 PM, Chris Duncan <chris.d at frugalit.co.uk>wrote:
> I've been playing around with the default exchanges that get automatically
> created in a vhost when it is created. Should I be able to delete
> amq.direct, amq.fanout etc.? I've found that I can delete them, although I
> can't delete the default 'nameless' exchange, which makes sense. Do these
> amq.* exchanges serve any particular purpose?
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss