<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Hi,</div><div><br></div>I'm currently using RabbitMQ Server 3.2.1 and installed the latest Presence Exchange Plugin for v3.1.3 downloaded from this link - <a href="http://eighty-twenty.org/tech/rabbitmq/binary-plugins.html" target="_blank">http://eighty-twenty.org/tech/rabbitmq/binary-plugins.html</a><div><br></div><div>What I did:</div><div><br></div><div>1. <span style="font-size: 12pt;">I created </span><span style="font-size: 12pt;">a new exchange "presence" of the type "x-presence" using</span><span style="font-size: 12pt;"> </span><a href="http://localhost:15672/#/exchanges" target="_blank" style="font-size: 12pt;">http://localhost:15672/#/exchanges</a><div><div><br></div><div>2. Created a STOMP connection using user name: guest and subscribed to <span style="font-size: 12pt;">destination:/exchange/presence. </span></div><div>------------<span style="font-size: 12pt;">------------</span><span style="font-size: 12pt;">------------</span><span style="font-size: 12pt;">------</span></div><div>D:\RabbitMQ\ncat-portable-5.59BETA1>ncat localhost 61613</div><div>CONNECT</div><div>passcode:guest</div><div>login:guest</div><div><br></div><div>^@</div><div>CONNECTED</div><div>session:session-NDd780bT5IJvckp7rDN6bg</div><div>heart-beat:0,0</div><div>server:RabbitMQ/3.2.1</div><div>version:1.0</div><div><br></div><div> SUBSCRIBE</div><div>destination:/exchange/presence</div><div>persistent:true</div><div>id:test</div><div>receipt:001</div><div><br></div><div>^@</div><div>RECEIPT</div><div>receipt-id:001 </div></div><div>------------<span style="font-size: 12pt;">------------</span><span style="font-size: 12pt;">------------</span><span style="font-size: 12pt;">---------</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">3. Created another STOMP connection using the user name: joshua and subscribed to </span><span style="font-size: 12pt;">destination:/exchange/presence/joshua</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Immediately after that, the guest STOMP connection crashed when I had</span><span style="font-size: 12pt;"> expect it to receive messages after user joshua has subscribed to "presence" exchange.</span><span style="font-size: 12pt;"> </span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">What have I done wrongly?</span></div><div><span style="font-size: 12pt;"><br></span></div><div><br></div><div><div>D:\Data\ClickAndDeploy\AlertingApp\RabbitMQ\ncat-portable-5.59BETA1>ncat localho<span style="font-size: 12pt;">st 61613</span></div><div>CONNECT</div><div>login:joshua</div><div>passcode:joshua</div><div><br></div><div>^@</div><div>CONNECTED</div><div>session:session-Zcca9njV-DNO3mYsQ05d3g</div><div>heart-beat:0,0</div><div>server:RabbitMQ/3.2.1</div><div>version:1.0</div><div><br></div><div> SUBSCRIBE</div><div>destination:/exchange/presence/joshua</div><div>receipt:002</div><div><br></div><div>^@</div><div>RECEIPT</div><div>receipt-id:002</div><div><br></div><div><br></div><div>4. Meanwhile, here's the copy and paste of the presence exchange screen on the management console.</div><div>----------------------------------------------------</div><div><br></div><div><div>Exchange: presence</div><div><br></div><div>Overview</div><div>Message rates (chart: last minute) (?)</div><div><br></div><div>Currently idle</div><div><br></div><div>Details</div><div><br></div><div>Type<span class="Apple-tab-span" style="white-space:pre"> </span>x-presence</div><div>Parameters<span class="Apple-tab-span" style="white-space:pre"> </span></div><div>durable:<span class="Apple-tab-span" style="white-space:pre"> </span>true</div><div>Policy<span class="Apple-tab-span" style="white-space:pre"> </span></div><div>Message rates breakdown</div><div>Bindings</div><div>This exchange</div><div><br></div><div>?</div><div>To<span class="Apple-tab-span" style="white-space:pre"> </span>Routing key<span class="Apple-tab-span" style="white-space:pre"> </span>Arguments<span class="Apple-tab-span" style="white-space:pre"> </span></div><div>amq.gen-4XGYzwGBOoMmRDbXC9izQQ</div><div><br></div><div>amq.gen-aBOn5nOt8vZZrOT69jqfJw</div><div>joshua<span class="Apple-tab-span" style="white-space:pre"> </span></div><div>------------<span style="font-size: 12pt;">------------</span><span style="font-size: 12pt;">------------</span><span style="font-size: 12pt;">------------</span><span style="font-size: 12pt;">------</span></div></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Rgds,</span></div><div><span style="font-size: 12pt;">Joshua</span></div><div><br></div></div></div> </div></body>
</html>