November 2016
Intermediate to advanced
944 pages
21h 1m
English
In the previous section, we saw that in a WebSocket application that does not use subprotocols, the client and server should be aware of the message format (JSON in this case) in order to handle it. In this section, we use STOMP as a subprotocol in a WebSocket application (this is known as STOMP over WebSocket) and show how this application layer protocol helps us handle messages.
The messaging architecture in the previous application was an asynchronous client/server-based communication.
The spring-messaging module brings features of asynchronous messaging systems to Spring Framework. It is based on some concepts inherited from Spring Integration, such as messages, message handlers (classes ...
Read now
Unlock full access