<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Miguel,<div>Even I have the same scenario, and I have my clients announcing(publishing) their connect and disconnect at the time of log-in and log-off resp. I have a deamon process running which is a pure consumer listening on 'register.*'. </div><div>Would be interested to know if some better way exists.</div><div><br></div><div>Thanks</div><div>Regards</div><div>Deepak</div><div><br><div><div><div>On Mar 15, 2011, at 4:31 AM, Miguel Morales wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Mathias,<br> <br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Is the fact that a client has connected with a particular user name really indicating presence? Or is their presence perhaps only established when they start consuming from a queue?<div class="im"><br></div></blockquote>
<div><br></div><div>Well, presence is established when they subscribe to an exchange. The way I have it now is that they have to 'announce' themselves when they log in by publishing a message.</div><div><br></div>
<div>However, I currently have no way of knowing when they disconnect and be able to tell the other clients that the user is no longer active.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Unfortunately (for you) there is no log message containing the user name.<br><font color="#888888">
<br></font></blockquote><div>Damn that sucks, I'll have to look through the archives and see if other people give hints as to a proper solution.</div><div><br></div><div>Thanks,</div><div>Miguel.</div></div><br clear="all">
<br>-- <br>~ Jeremiah:9:23-24<br>Android 2D MMORPG: <a href="http://solrpg.com/" target="_blank">http://solrpg.com/</a> <a href="http://www.youtube.com/user/revoltingx" target="_blank">http://www.youtube.com/user/revoltingx</a><br>
_______________________________________________<br>rabbitmq-discuss mailing list<br><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss<br></blockquote></div><br></div></div></body></html>