https://github.com/fdifrison/spring-rabbitmq
https://github.com/fdifrison/spring-rabbitmq
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/fdifrison/spring-rabbitmq
- Owner: fdifrison
- Created: 2024-11-11T16:30:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-11T16:38:30.000Z (over 1 year ago)
- Last Synced: 2025-02-04T21:45:09.997Z (over 1 year ago)
- Language: Java
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring RabbitMQ
Official tutorial from https://www.rabbitmq.com/tutorials/tutorial-one-spring-amqp
## Configurations
* **Basic**: a simple hello world with a producer and a consumer, no exchange and no bindings
* **Work**: simulating a time-consuming task with two consumers subscribed; round-robin workload distribution and
automatic
retry on exception
* **Fanout**: pub/sub configuration; 2 anonymous queue are created and bound to a FanoutExchange that will blindly
publish
to all the subscribed consumers
* **Direct**: with a DirectExchange consumers are bound to queues with an additional **key** which serves as
discriminant for the publisher to know to whom deliver the message
* **Topic**: enhance the routing capability of DirectExchange by giving the possibility to specify additional parameters
and wildcards
* (star) can substitute for exactly one word.
* (hash) can substitute for zero or more words.