This project demonstrates how to send messages to ActiveMQ using a Spring Boot application.
This sample project is based on post Sonarcloud Status
- Clone this repository
git https://github.com/guedim/spring-projects.git
- Move to the directory
active-mq-sender
cd spring-projects/active-mq/active-mq-sender
- Fix broker url and credentials in
application.yml
located insrc/main/resources
. - Set Sender type (
HTTP
orJMS
) using propertysender:type
inapplication.yml
- Add the data file to process located in located in
src/main/resources
. Take a look for file structure:
description_a,1
description_b,2
description_c,3
- Run spring boot application.
./mvnw spring-boot:run