Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 766 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 766 Bytes

java-mqtt-pubsub

Requirements

Docker

Technologies

Java 17 (openjdk), Maven, RabbitMQ

sh folder

The sh folder allows you to quickly launch docker commands to perform tasks

Build project

On the root folder

sh sh/build

Start RabbitMQ server

sh sh/broker

The service is deployed at http://localhost:5672

HTTP API / UI management is deployed at http://localhost:15672

Run consumer

sh sh/consumer

Run java class to listen messages from the broker

Run producer

sh sh/producer

Run java class to send messages to the broker