No description, website, or topics provided.
Erlang
Switch branches/tags
Nothing to show
Pull request Compare This branch is 373 commits behind rabbitmq:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.hgignore
LICENSE
LICENSE-MPL-RabbitMQ
Makefile
README.md
package.mk

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 55674, for example a valid SockJS endpoint url may look like: "http://127.0.0.1:55674/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 Mensnil's "stomp-websocket" project may look like this:

<script src="http://cdn.sockjs.org/sockjs-0.3.min.js"></script>
<script src="stomp.js"></script>
<script>
    WebSocketStompMock = SockJS;

    var client = Stomp.client('http://127.0.0.1:55674/stomp');
    [...]

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: