Simple STOMP 1.1 Broker for nodejs http applications.
npm install stomp-broker-jsThis is simple NodeJs STOMP 1.1 broker for embedded usage.


javascript
var http = require("http");
var StompServer = require('stompServer');var server = http.createServer();
var stompServer = new StompServer({server: server});
server.listen(61614);
stompServer.subscribe("/**", function(msg, headers) {
var topic = headers.destination;
console.log(topic, "->", msg);
});
stompServer.send('/test', {}, 'testMsg');
``