Skip to content
This repository has been archived by the owner on Jun 15, 2019. It is now read-only.

Example of integration between two apps and one frontend with STOMP over WebSocket and JMS.

License

Notifications You must be signed in to change notification settings

pires/springboot-stomp-ws-jms-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

One must have docker installed.

If you're on Mac OS X, run:

boot2docker stop
VBoxManage modifyvm "boot2docker-vm" --natpf1 "stomp,tcp,,61613,,61613";
VBoxManage modifyvm "boot2docker-vm" --natpf1 "openwire,tcp,,61616,,61616";
boot2docker start

Build amq-docker

git clone https://github.com/pires/amq-docker.git
cd amq-docker
docker build -t amq:5.10.0 .

Run broker

docker run --name amq1 -p=61613:61613 -p=61616:61616 -d -t amq:5.10.0

Build & run

git clone https://github.com/pires/springboot-stomp-ws-jms-integration.git
cd springboot-stomp-ws-jms-integration/master
mvn spring-boot:run
cd cd springboot-stomp-ws-jms-integration/minion
mvn spring-boot:run

Test

Point your browser to http://localhost:8080 and send a message. Should receive two greetings (one from master, another from minion).

About

Example of integration between two apps and one frontend with STOMP over WebSocket and JMS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published