<div dir="ltr">FWIW, thought it&#39;s worth referring to this somewhat related thread from last year:�<a href="https://groups.google.com/forum/#!msg/rabbitmq-discuss/XDgTCiPGcfM/dREUwL0ZxD8J">https://groups.google.com/forum/#!msg/rabbitmq-discuss/XDgTCiPGcfM/dREUwL0ZxD8J</a><div>
<br></div><div>Not sure it still works as before, but I did subscribe to the messages sent to in�<span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">amq.rabbitmq.log and you can get some string based info on connect / disconnects.</span></div>
<div><br></div><div>-Randall<br><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 13, 2013 at 10:29 AM, Tim Watson <span dir="ltr">&lt;<a href="mailto:tim@rabbitmq.com" target="_blank">tim@rabbitmq.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On 13 Nov 2013, at 12:34, Lars Ellebo wrote:<br>
&gt; Is there a way to configure a Queue that will generate a message every time<br>
&gt; a user Connects or Disconnects ?<br>
&gt;<br>
&gt; The message shall contain at least the UserId and whether the Used did<br>
&gt; Connect or Disconnect.<br>
&gt;<br>
<br>
Apart from the fact that this would violate a number of security principles, it&#39;s possible but not without writing a custom plugin. I have considered writing a plugin that listens for management events describing &quot;schema changes&quot; (i.e., CRUD operations on users, vhosts, queues, exchanges, etc) that publishes this information to an exchange and binds a queue to it. The user (installing the plugin) would need to ensure this is &quot;locked down&quot; to prevent security holes from appearing as a result. I hadn&#39;t considered adding connect+disconnect events though, because (a) these could be extremely frequent and could harm performance, plus (b) I can&#39;t quite see why such information would be useful. One of the primary reasons for using messaging oriented middleware is to de-couple producers from consumers, whereas providing a stream of schema-oriented information seems quite useful if you&#39;re working with dynamically changing topologies. Perhaps from a statistics monitoring point of view<br>

�the connect/disconnect information is useful, but you can get that by polling the management HTTP API already, and I&#39;m not sure whether adding a queue based feed would be the best way to present an alternative interface to such information. Simon may well have more/better points to add on this.<br>

<br>
Cheers,<br>
Tim<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>
</blockquote></div><br></div>