Provides support for STOMP over WebSockets
Erlang Makefile
Latest commit e448c29 Dec 17, 2016 @michaelklishin michaelklishin Merge branch 'stable'
Failed to load latest commit information.
priv/schema removed _config suffix Mar 23, 2016
src rabbit_ws_sockjs: Fix listeners registration Dec 8, 2016
.travis.yml Merge branch 'stable' Dec 16, 2016 Update, add May 28, 2016 Update, add May 28, 2016
LICENSE license Mar 2, 2012
LICENSE-MPL-RabbitMQ Update LICENSE-MPL-RabbitMQ Jan 16, 2016
Makefile Merge branch 'stable' Dec 7, 2016 Update Jun 20, 2016 Update Nov 22, 2016 Update Dec 8, 2016

RabbitMQ Web STOMP plugin

This project is a simple bridge between the RabbitMQ STOMP plugin and WebSockets (directly or via SockJS emulation).

Once started the plugin opens a SockJS endpoint on prefix "/stomp" on port 15674, for example a valid SockJS endpoint url may look like: "".

Once the server is started you should be able to establish a SockJS connection to this url. You will be able to communicate using the usual STOMP protocol over it. For example, a page using Jeff Mesnil's "stomp-websocket" project and SockJS may look like this:

<script src="sockjs-0.3.min.js"></script>
<script src="stomp.js"></script>
    Stomp.WebSocketClass = SockJS;

    var client = Stomp.client('');
    var on_connect = function() {
    var on_error =  function() {
    client.connect('guest', 'guest', on_connect, on_error, '/');

See the RabbitMQ Web STOMP Examples plugin for more details.

RabbitMQ Version Requirements

The most recent version of this plugin requires RabbitMQ 3.6.1 or later.

Installation and Binary Builds

This plugin is now available from the RabbitMQ community plugins page. Please consult the docs on how to install RabbitMQ plugins.

Building from Source

See Plugin Development guide.

TL;DR: running

make dist

will build the plugin and put build artifacts under the ./plugins directory.

Copyright and License

(c) Pivotal Software Inc, 2007-20016

Released under the MPL, the same license as RabbitMQ.