Pet project translating rest calls to RabbitMQ, using Spring Cloud Gateway.
- Start RabbitMq server with docker-compose:
docker-compose up
RabbitMq server has predefined single exchange notifications
with type topic. Exchange is binded with queue notification.client
, matching all routing key (*
).
- Run
Main
method - Execute http request publish-notification.http. Service will publish message to exchange specified in application properties