This recipe will demonstrate how to implement a Message-oriented-Middleware (MoM). This is a very popular technique in scalability based on asynchronous communication between components.
We have already introduced the new
cloudstreetmarket-websocket Java projects. WebSockets are now split away from
cloudstreetmarket-api will still communicate with each other using messaging.
In order to decouple secondary tasks from the request thread (secondary tasks like event producing), you need to learn how to configure and use AMQP message templates and listeners with RabbitMQ.