1) Sending message and receiving a reply.
-> Explanation :
> The browser should be able to send a message and recieve a reply back.
> The respective reply should be recieved at the same browser window that sent it. Different windows(identified with unique id) should be able to send different messages and recieve different replies.
> if they have the same id's, they both should recieve the reply.
Browser window 1(W1) : Opened a socket with unique ID : 1
Browser window 2(W2) : Opened a socket with unique ID : 2
Browser window 3(W3) : Opened a socket with ID : 1
W1 sent a message, the reply should come back to 1 and 3
W2 sent a message, the reply should come back to 2
Example Message Sent by W1 : Hello.
Example Message Recieved by W1 : Hello Sent by ID 1.
Example Message Recieved by W3 : Hello Sent by ID 1.
Example Message Sent by W2 : Hello.
Example Message Recieved by W2 : Hello Sent by ID 2.
2) There should be a way to send a Message directly to a window associated with the ID.
Explanation :
> Let's say I can directly send a message to W2 if I know it is using id 2. This may be achieved by rest client, like Postman or ARC, not necessarily in need of a full blown application.
Must use Spring boot 2.0 on the server side.