<div dir="ltr"><div class="">
        <div class="">
            <p>How to reproduce:<br>
1) Connect to stomp, make some subscriptions<br>
2) Try to SEND something to exchange you don't have rights to, a record like this will appear in log which is OK:</p>

<pre><code>
=ERROR REPORT==== 25-Feb-2014::10:40:32 ===
connection <0.27089.0>, channel 1 - soft error:
{amqp_error,access_refused,
            "access to exchange 'production.main.services.presence' in vhost 'frontend' refused for user '{\"userId\":1,\"namespaces\":[\"production.main\"]}'",
            'basic.publish'}

</code></pre>

<p>3) <a href="https://lh4.googleusercontent.com/-YXrCFotPYRk/Uww8v7H0FHI/AAAAAAAADXM/dtH_H3ZzkE8/s756/file2nqmNa.png">https://lh4.googleusercontent.com/-YXrCFotPYRk/Uww8v7H0FHI/AAAAAAAADXM/dtH_H3ZzkE8/s756/file2nqmNa.png</a><br>

Websocket remains active, js is able to send messages, without any reaction althrough.</p>

<p>Expected behaviour:<br>
Connection should be closed with the channel.</p>
        </div>
      </div></div>