mardi 7 avril 2015

Web Socket - Spring : Confirm of message received

I am sending a message through WebSocket with Spring from Tomcat Server to a SockJSClient with the method:



WebSocketSession.sendMessage(WebSocketMessage<?> message)


and I would like to know when the message has been received (eventually with complementary information, for example whether the logic on client successfully processed), then go for next message.


This is an Activity diagram that explains the use case. enter image description here


How can I receive confirmation of reception or result from client?


Aucun commentaire:

Enregistrer un commentaire