My use case considers three actors:
- A Message Producer (for instance, a Remote Backend);
- A Message Broker (for instance, RabbitMQ);
- A Message Consumer (a Spring-based web application on is own AS).
The communication process is as follows:
- The Message Producer creates a message (by specifying a recipient) and then sends it to the Message Broker;
- The Message Broker relays the message to the Message Consumer;
- The Message Consumer receives the message, then delivers it to a specific user (by mapping recipient and username) by using a WebSocket.
Is it possible to implement this scenario?