Hi, 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 doing: channel.publish(msg, '', 'queue-name') That's quite useful in RPC scenarios, or to send messages to anon queues for example. Regards, Alvaro On Tue, Dec 4, 2012 at 12:24 PM, Chris Duncan <[email protected]>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? > > Cheers, > > Chris > > _______________________________________________ > rabbitmq-discuss mailing list > [email protected] > https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss > > -- You received this message because you are subscribed to the Google Groups "rabbitmq-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rabbitmq-discuss?hl=en.
