https://github.com/px86/rabbitmq-spring-boot-demo
A project demonstarating the use of RabbitMQ with Spring Boot.
https://github.com/px86/rabbitmq-spring-boot-demo
amqp producer-consumer rabbitmq spring-boot
Last synced: 2 months ago
JSON representation
A project demonstarating the use of RabbitMQ with Spring Boot.
- Host: GitHub
- URL: https://github.com/px86/rabbitmq-spring-boot-demo
- Owner: px86
- License: mit
- Created: 2024-11-03T15:52:36.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-03T17:27:40.000Z (11 months ago)
- Last Synced: 2025-03-21T07:11:10.501Z (7 months ago)
- Topics: amqp, producer-consumer, rabbitmq, spring-boot
- Language: Java
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+TITLE: RabbitMQ Spring-Boot Demo
#+AUTHOR: Pushkar Raj* How to Run
Make sure you have =docker= and =docker-compose= installed, then run =docker-compose up -d= in the root folder of the project. It will spin up three docker containers - rabbitmq, producer and consumer.
The =producer= exposes an api endpoint for publishing messages onto the queue.
#+begin_src http
POST http:///api/v1/publish
Content-Type: application/json{
"body": "hi there!"
}
#+end_srcThe =consumer= logs the received message.