Skip to content
This repository was archived by the owner on Feb 4, 2024. It is now read-only.

3nu3l/intapps20231C-core-services

Repository files navigation

Core - RabbitMQ Server

Basic structure and architecture of a RabbitMQ Application

Requirements

  • Java 19
  • RabbitMQ Server

Getting started

Configuration of Rabbit

If you want to use a RabbitMQ custom configuration, you will need change the values of enviroment variables that RabbitMQ use to establish the connection. These values will be founded in the file "application.yml", the path to file is:

src/main/resources/application.yml

The variables for connection with default values are:

  • host: localhost
  • password: guest
  • port: 5672
  • username: guest

Remember that port 15672 is used for HTTP, you can get more info about port used in RabbitMQ in the following links:

Build Steps

In order to build and run the JAR file you can use any of the following commands

  • Compile the files, generate the JAR executable and run the Spring Application

    $ .\mvnw spring-boot:run
  • Just compile the files without run the Spring Application

    $ mvnw clean package
  • Run the JAR executable

    $ java -jar .\target\transport-0.0.1-SNAPSHOT.jar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •