<div dir="ltr">I believe this is because webstomp creates exclusive queues which do not get replicated regardless of policy. The issue is this means any non socket client has to poll the exact node where their queue is located.<br><br>On Wednesday, 19 March 2014 11:04:48 UTC, Steve Flitcroft  wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Having trouble getting the queues that are created via sockjs & webstomp being replicated across nodes.<div><br><div>I have a policy set for any queues that start with amq to be replicated.</div><div><br></div><div>You can see this here</div><div><br></div><div><a href="http://gyazo.com/b0e3fbac0d1a1d0baabc25c5f43499f0" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fgyazo.com%2Fb0e3fbac0d1a1d0baabc25c5f43499f0\46sa\75D\46sntz\0751\46usg\75AFQjCNGYHm3QD5TOykzGr4NNKniKUZtOnQ';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fgyazo.com%2Fb0e3fbac0d1a1d0baabc25c5f43499f0\46sa\75D\46sntz\0751\46usg\75AFQjCNGYHm3QD5TOykzGr4NNKniKUZtOnQ';return true;">http://gyazo.com/<wbr>b0e3fbac0d1a1d0baabc25c5f43499<wbr>f0</a></div><div><br></div><div>the amq.gen queue created by webstomp does not replicate to the other node, the queue I created called amqsteve does.</div><div><br></div><div>The policy is</div><div><br></div><div><a href="http://gyazo.com/2ab0f414a83a529e3142d30988d003fe" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fgyazo.com%2F2ab0f414a83a529e3142d30988d003fe\46sa\75D\46sntz\0751\46usg\75AFQjCNFAm5oMLVdjZzv3H4fXJDrDzyLY9g';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fgyazo.com%2F2ab0f414a83a529e3142d30988d003fe\46sa\75D\46sntz\0751\46usg\75AFQjCNFAm5oMLVdjZzv3H4fXJDrDzyLY9g';return true;">http://gyazo.com/<wbr>2ab0f414a83a529e3142d30988d003<wbr>fe</a><br></div><div><br></div><div>The result of this is that any non websocket browsers have to be routed to exactly the same node otherwise they get a 404 on the xhr_send method and lose connection. I can fix this by routing all non socket browsers to one node but this defeats the point of a cluster and load balancing. <br><div><br></div></div></div></div></blockquote></div>