https://github.com/valandro/rabbitmq-producer-consumer
A simple example of producer/consumer application using RabbitMQ as message broker for testing their perfomance.
https://github.com/valandro/rabbitmq-producer-consumer
consumer-producer rabbitmq rabbitmq-client spring-boot
Last synced: about 2 months ago
JSON representation
A simple example of producer/consumer application using RabbitMQ as message broker for testing their perfomance.
- Host: GitHub
- URL: https://github.com/valandro/rabbitmq-producer-consumer
- Owner: valandro
- License: apache-2.0
- Created: 2019-06-16T21:36:58.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-14T23:29:27.000Z (almost 7 years ago)
- Last Synced: 2025-03-29T09:41:39.401Z (about 1 year ago)
- Topics: consumer-producer, rabbitmq, rabbitmq-client, spring-boot
- Language: Java
- Homepage:
- Size: 80.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://opensource.org/licenses/Apache-2.0)
# Producer and consumer
Producer and Consumer application using RabbitMQ as `Message Broker`.
## Message Broker
"A **message broker** (also known as an integration broker or interface engine) is an intermediary computer
program module that translates a message from the formal messaging protocol of the sender to the formal messaging
protocol of the receiver."
## Advanced Message Queuing Protocol (AMQP)
"The Advanced Message Queuing Protocol (AMQP) is an open standard for passing business messages between applications
or organizations. It connects systems, feeds business processes with the information they need and reliably transmits
onward the instructions that achieve their goals."
## Project's architeture
### 1 Queue
- **master branch**

### 2 Queues
- **two-queues branch**

### Running
First of all, you should have a `Docker RabbitMQ container` running:
```
docker-compose up
```
After, set your java version to **10.x.x** and:
```
./gradlew clean build bootrun
```
### Environment
- Java 10.0.2
- Gradle 4.7+
- Spring boot 2.0.3
### References
- https://www.rabbitmq.com
- https://en.wikipedia.org/wiki/Message_broker
- https://www.amqp.org
### License
Apache License. [Click here for more information.](LICENSE)