<div>Hi,</div><div><br></div>The amq.* exchanges are dictated by the AMQP spec.<div><br></div><div>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:</div>
<div><br></div><div>channel.publish(msg, '', 'queue-name')</div><div><br></div><div>That's quite useful in RPC scenarios, or to send messages to anon queues for example.</div><div><br></div><div>Regards,</div>
<div><br></div><div>Alvaro</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 4, 2012 at 12:24 PM, Chris Duncan <span dir="ltr"><<a href="mailto:chris.d@frugalit.co.uk" target="_blank">chris.d@frugalit.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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?<br>
<br>Cheers,<br><br>Chris<br><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>