Loading repository data…
Loading repository data…
jerry-felipe / repository
A RabbitMQ-based messaging system designed for asynchronous communication in financial transaction processing. It ensures component decoupling, enhancing scalability and reliability. Well-suited for event-driven architectures, message queues, and distributed systems managing high transaction volumes efficiently.
A RabbitMQ-based messaging system designed for asynchronous communication in financial transaction processing. It ensures component decoupling, enhancing scalability and reliability. Well-suited for event-driven architectures, message queues, and distributed systems managing high transaction volumes efficiently.
Install RabbitMQ:
Set up RabbitMQ:
sudo systemctl start rabbitmq-server
Configure Environment Variables:
.env file or set environment variables for RabbitMQ connection:
RABBITMQ_HOST=localhost
RABBITMQ_PORT=5672
RABBITMQ_USERNAME=your_username
RABBITMQ_PASSWORD=your_password
Add Dependencies to pom.xml:
Add the following dependencies to your pom.xml to integrate RabbitMQ with Spring Boot:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
</dependency>
<dependency>
<groupId>com.rabbitmq</groupId>
<artifactId>amqp-client</artifactId>
<version>5.9.0</version>
</dependency>
Run the Application:
mvn spring-boot:run
mvn spring-boot:run
http://localhost:8080/swagger-ui.html
| Endpoint | Method | Description |
|---|---|---|
/message/send | POST | Send a message to the queue. |
/message/receive | GET | Receive messages from the queue. |
/message/status/{messageId} | GET | Get the status of a message. |
Contributions are welcome! Please fork the repository and submit a pull request with detailed notes.
This project is licensed under the MIT License.
For more information, contact jerry.felipe@gmail.com.