https://github.com/keuller/node-amqp
Simple Example Node and RabbitMQ
https://github.com/keuller/node-amqp
Last synced: 3 months ago
JSON representation
Simple Example Node and RabbitMQ
- Host: GitHub
- URL: https://github.com/keuller/node-amqp
- Owner: keuller
- Created: 2022-02-02T09:07:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-02T09:10:25.000Z (over 3 years ago)
- Last Synced: 2025-01-23T00:28:11.084Z (5 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## RabbitMQ
* Channel
* Exchange
* Route
* Queue### Anti Pattern
```
+----------+ +---------+ +-------+ +---------+ +----------+
| Producer | ==> | Channel | ==> | Queue | ==> | Channel | ==> | Consumer |
+----------+ +---------+ +-------+ +---------+ +----------+```
### Correct Pattern
```
+----------+ +---------+ +----------+ routes +-------+ +---------+ +----------+
| Producer | ==> | Channel | ==> | Exchange | ========> | Queue | ==> | Channel | ==> | Consumer |
+----------+ +---------+ +----------+ +-------+ +---------+ +----------+```