<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
We would like for each one of our users to subscribe to their own
personal queue. When a message is delivered to this queue we would
like to send this notification to the user in real-time. I was
wondering the preferred way of doing this. <br>
<br>
For example with Faye Pub/Sub server (<a class="moz-txt-link-freetext" href="http://faye.jcoglan.com/">http://faye.jcoglan.com/</a>) they
include a javascript file that can be used to subscribe to events
from the front-end. Is there anything like this with RabbitMQ or
AMQP in general?<br>
<br>
<meta charset="utf-8">
<span class="pln" style="color: rgb(0, 0, 0); "></span><span
class="kwd" style="color: rgb(0, 0, 0); font-weight: bold; ">var</span><span
class="pln" style="color: rgb(0, 0, 0); "> client </span><span
class="pun" style="color: rgb(102, 102, 102); ">=</span><span
class="pln" style="color: rgb(0, 0, 0); "> </span><span
class="kwd" style="color: rgb(0, 0, 0); font-weight: bold; ">new</span><span
class="pln" style="color: rgb(0, 0, 0); "> </span><span
class="typ" style="color: rgb(68, 85, 136); ">Faye</span><span
class="pun" style="color: rgb(102, 102, 102); ">.</span><span
class="typ" style="color: rgb(68, 85, 136); ">Client</span><span
class="pun" style="color: rgb(102, 102, 102); ">(</span><span
class="str" style="color: rgb(221, 17, 68); ">'<a class="moz-txt-link-freetext" href="http://localhost:8000/faye">http://localhost:8000/faye</a>'</span><span
class="pun" style="color: rgb(102, 102, 102); ">,</span><span
class="pln" style="color: rgb(0, 0, 0); "> </span><span
class="pun" style="color: rgb(102, 102, 102); ">{</span><span
class="pln" style="color: rgb(0, 0, 0); "><br>
timeout</span><span class="pun" style="color: rgb(102, 102,
102); ">:</span><span class="pln" style="color: rgb(0, 0, 0); "> </span><span
class="lit" style="color: rgb(0, 153, 153); ">120</span><span
class="pln" style="color: rgb(0, 0, 0); "><br>
</span>});<span class="kwd" style="color: rgb(0, 0, 0); font-weight:
bold; "><br>
<br>
var</span><span class="pln" style="color: rgb(0, 0, 0); ">
subscription </span><span class="pun" style="color: rgb(102, 102,
102); ">=</span><span class="pln" style="color: rgb(0, 0, 0); ">
client</span><span class="pun" style="color: rgb(102, 102, 102); ">.</span><span
class="pln" style="color: rgb(0, 0, 0); ">subscribe</span><span
class="pun" style="color: rgb(102, 102, 102); ">(</span><span
class="str" style="color: rgb(221, 17, 68); ">'/foo'</span><span
class="pun" style="color: rgb(102, 102, 102); ">,</span><span
class="pln" style="color: rgb(0, 0, 0); "> </span><span
class="kwd" style="color: rgb(0, 0, 0); font-weight: bold; ">function</span><span
class="pun" style="color: rgb(102, 102, 102); ">(</span><span
class="pln" style="color: rgb(0, 0, 0); ">message</span><span
class="pun" style="color: rgb(102, 102, 102); ">)</span><span
class="pln" style="color: rgb(0, 0, 0); "> </span><span
class="pun" style="color: rgb(102, 102, 102); ">{</span><span
class="pln" style="color: rgb(0, 0, 0); "><br>
</span><span class="com" style="color: rgb(153, 153, 136);
font-style: italic; "> // handle message</span><span
class="pun" style="color: rgb(102, 102, 102); "><br>
});</span><br>
<br>
This also leads me to my next question. What is the upper bound of
unique queues one RabittMQ machine can reasonably manage. I know its
hardware dependent but can someone throw out a ballpark figure...
hundreds, thousands, 10's of thousands... etc<br>
<br>
Thanks in advance<br>
</body>
</html>