yeah, the idea is to be able to detect "bad behaviour" and delete queue automatically.<div><br></div><div>So ideally, I would have liked to create a queue bound to amq.rabbitmq.log, with a consumer monitoring the queue bindings.</div>
<div><br></div><div>The original problem is that we wanted to use permissions to prevent users from binding queue using certain routing keys.</div><div><br></div><div>For example, I would like to allow people to bind queue with routing key "site1.*.*.*.*" but not "site2.*.*.*.*". As this does not seem to be possible with permissions, we were thinking at detecting such bindings and delete the queue.</div>
<div><br></div><div>Cheers,</div><div><br></div><div>Fab</div><div><br><br><div class="gmail_quote">On 7 January 2011 14:15, Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com">simon@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 07/01/11 14:07, Simon MacMullen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 07/01/11 13:51, underattack7 wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there to monitor the queue bindings and see their routing keys ?<br>
<br>
I would be interested to monitor the queue declarations along with the<br>
routing keys used in real time. I had a look a the amq.rabbitmq.log<br>
exchange but it does provide with this information.<br>
</blockquote>
<br>
Hi Fab.<br>
<br>
No, there's not at the moment. amq.rabbitmq.log only shows the same<br>
messages as get written to the log file.<br>
<br>
That information is available internally via the rabbit_event event<br>
stream, but it's not hooked up to AMQP. I have wondered about writing<br>
some plugin to expose this information; it wouldn't be too hard. Is<br>
anyone else interested in this?<br>
</blockquote>
<br></div>
That of course assumes that when you say "in real time" you mean that you want to get notification when these things are created. Of course you can use rabbitmqctl or the management plugin to retrieve lists of them.<div>
<div></div><div class="h5"><br>
<br>
Cheers, Simon<br>
-- <br>
Simon MacMullen<br>
Staff Engineer, RabbitMQ<br>
SpringSource, a division of VMware<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">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>
</div></div></blockquote></div><br></div>