Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Erlang
Failed to load latest commit information.
src Add configuration parameter for cowboy connection pool size.
test/src whitespace
.gitignore Convert .hgignore to .gitignore
CONTRIBUTING.md Sync CONTRIBUTING.md with the template one
LICENSE
LICENSE-MPL-RabbitMQ Update copyright for 2014
Makefile initial import
README.md Remove the "moved to GitHub" warning.
package.mk bug24894 - tests for web-stomp

README.md

RabbitMQ-Web-Stomp plugin

This project is a simple bridge between "RabbitMQ-stomp" plugin and SockJS.

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

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>
<script>
    Stomp.WebSocketClass = SockJS;

    var client = Stomp.client('http://127.0.0.1:15674/stomp');
    var on_connect = function() {
        console.log('connected');
    };
    var on_error =  function() {
       console.log('error');
    };
    client.connect('guest', 'guest', on_connect, on_error, '/');
    [...]

See the "RabbitMQ-Web-Stomp-examples" plugin for more details.

Installation

Generic build instructions are at:

Instructions on how to install a plugin into RabbitMQ broker:

Something went wrong with that request. Please try again.