How to reproduce:
1) Connect to stomp, make some subscriptions
2) Try to SEND something to exchange you don't have rights to, a record like this will appear in log which is OK:
=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'}
How to reproduce: 1) Connect to stomp, make some subscriptions 2) Try to SEND something to exchange you don't have rights to, a record like this will appear in log which is OK:
3) https://lh4.googleusercontent.com/-YXrCFotPYRk/Uww8v7H0FHI/AAAAAAAADXM/dtH_H3ZzkE8/s756/file2nqmNa.png Websocket remains active, js is able to send messages, without any reaction through.
Expected behaviour: Connection should be closed with the channel.