<div dir="ltr"><div><div>Adrien,<br><br></div>While AMQP allows suitably privileged clients (producers, consumers) to perform some configuration functions, you certainly do not have to design things to work in this way. For example, you could use a facility such as the RabbitMQ management plugin to create queues, exchanges, and bindings, and give your producers and consumers just the permissions they need in order to publish and consume messages - it's entirely up to you and your particular needs/requirements.<br>
<br></div>Brett<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 28, 2013 at 10:41 AM, Adrien Brault <span dir="ltr"><<a href="mailto:monsti@gmail.com" target="_blank">monsti@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey,<div><br></div><div>I've read the getting started tutorials and am bothered with one aspect: publishers and consumers configures rabbitmq. I understand that those configuration requests are idempotent, however it seems weird to let the application(s) configure rabbitmq.</div>
<div><br></div><div>I don't think a publisher should be aware of the exchange type, and a consumer should not be aware of bindings. Though I understand that some pattern requires the application to create exchanges/queues/binding (like RPC).</div>
<div><br></div><div>Is there a tool to have some configuration file for the server ?</div><div>My goal would be that publishers only know what kind of message to send to a specific exchange, and consumer know what kind of message to get from a specific queue.</div>
<div><br></div><div>What do you think ? How do you handle the queue/exchange creation and binding logic in big application(s) ?</div></div><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>