Skip to content

alei121/stomp-simple-broker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

stomp-simple-broker

A simple stomp message broker sample.

It uses Spring Framework's simple messaging broker, which handles pubsub using STOMP messages over WebSocket.

It also provides a webpage to connect/subscribe/publish using stomp.js

Compile with:

mvn clean install

Start broker in command line:

  • java -jar target/stomp-simple-broker-0.0.1-SNAPSHOT.war
  • Open multiple browser windows to http://localhost:8080/index.html
  • Connect, type a message and Publish
  • All windows will show the published message

Alternatively, to start broker in tomcat, copy target/stomp-simple-broker-0.0.1-SNAPSHOT.war to tomcat webapp directory

About

Spring Stomp Simple Broker Sample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published