<div dir="ltr">Hi,<div>Well i guess i'll use XMPP server for our web presence...<br><div><br><div class="gmail_quote">On Wed, Aug 10, 2011 at 5:40 PM, Marek Majkowski <span dir="ltr"><<a href="mailto:majek04@gmail.com">majek04@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 class="im">On Wed, Aug 10, <a href="tel:2011" value="+9722011">2011</a> at 10:22, Maimon Oded <<a href="mailto:oded.maimon@gmail.com">oded.maimon@gmail.com</a>> wrote:<br>
> Do you know of anyone using RabbitMQ as a presence solution ? (like done<br>
> with XMPP servers).<br>
> if you use it for this purpose, can you describe how please?<br>
<br>
</div>Hi,<br>
<br>
RabbitMQ (and AMQP in general) don't support anything related<br>
to 'presence'. From RabbitMQ point of view, user produces<br>
messages, user consumes messages and that's more or less it.<br>
<br>
Maintaining presence is (in my opinion) application specific,<br>
and in most cases you should end up implementing roster<br>
in your application.<br>
<br>
In ideal world you could do that by just sending a message to yourself<br>
when user connects and disconnects, however in practice that's<br>
usually not so trivial.<br>
<br>
In order to do this simple thing server-side Tony wrote a x-presence<br>
exchange plugin some time ago. Here it is, I dusted it off a bit:<br>
<a href="https://github.com/majek/rabbitmq-x-presence" target="_blank">https://github.com/majek/rabbitmq-x-presence</a><br>
<br>
Take a look, and please do tell us if it helps to solve your particular problem.<br>
<br>
Cheers,<br>
<font color="#888888"> Marek<br>
</font></blockquote></div><br><br clear="all"><br>-- <br><br><br>Oded.<br>
</div></div></div>