admin管理员组文章数量:1305230
Is there a way to use AMQP to municate with RabbitMQ over WebSockets?
I guess the real question is if there is support for this in RabbitMQ and if there are any client side libraries for the browser? Can not really wrap my mind around it and google provides no answers for me.
Today we are using the RabbitMQ STOMP-SockJS solution. But that does not work very well with LVC (Last Value Cache) and exchanges other than the default. Since it does not allow to bind multiple routing keys to the same queue. (It automatically creates a new queue for each subscription.)
Is there a way to use AMQP to municate with RabbitMQ over WebSockets?
I guess the real question is if there is support for this in RabbitMQ and if there are any client side libraries for the browser? Can not really wrap my mind around it and google provides no answers for me.
Today we are using the RabbitMQ STOMP-SockJS solution. But that does not work very well with LVC (Last Value Cache) and exchanges other than the default. Since it does not allow to bind multiple routing keys to the same queue. (It automatically creates a new queue for each subscription.)
Share Improve this question asked Dec 9, 2015 at 13:19 ViktorViktor 5755 silver badges12 bronze badges2 Answers
Reset to default 7The best (most flexible, scalable, secure, etc) way to do this in my experience is to build a web server for your WebSockets and have the web server municate with RabbitMQ.
Kaazing has an AMQP JavaScript API that works with one of RabbitMQ's implementations of AMQP. Its free for developers and can be downloaded here
Full disclosure: I work for Kaazing.
本文标签: javascriptAMQP over WebSocket with RabbitMQStack Overflow
版权声明:本文标题:javascript - AMQP over WebSocket with RabbitMQ - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741794080a2397830.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论