Skip to content

Simple Spring Boot REST Application with MySQL & RabbitMQ using Docker

Notifications You must be signed in to change notification settings

iamvickyav/spring-boot-docker-mysql-rabbimq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SpringBoot App with MySQL RabbitMQ using Docker

In this sample application, I have used Docker to setup RabbitMQ & MySQL database. You can find the docker-compose.yml file below

docker-compose.yml File for MySQL & RabbitMQ

When application starts, SpringBoot CommandLineRunner will post an Order in RabbitMQ.

For sample purpose, I have kept both RabbitMQ sender & receiver in this same application.

RabbitMQ Receiver class will read the Order object from Queue & insert the Order details in MySQL table

Releases

No releases published

Packages

No packages published

Languages