|
@@ -98,7 +98,7 @@ This controller is concise and simple, but there's plenty going on. Let's break
|
|
|
|
|
|
The {AtMessageMapping}[`@MessageMapping`] annotation ensures that if a message is sent to destination "/hello", then the `greeting()` method is called.
|
|
|
|
|
|
-The payload of the message is bound to a `HelloMessage` object which is passed into `greeting()`.
|
|
|
+The payload of the message is bound to a `HelloMessage` object which is passed into `greeting()`.
|
|
|
|
|
|
Internally, the implementation of the method simulates a processing delay by causing the thread to sleep for 1 second. This is to demonstrate that after the client sends a message, the server can take as long as it needs to process the message asynchronously. The client may continue with whatever work it needs to do without waiting on the response.
|
|
|
|
|
@@ -186,10 +186,13 @@ Upon opening a connection, you are asked for your name. Enter your name and clic
|
|
|
|
|
|
== Summary
|
|
|
|
|
|
-Congratulations! You've just developed a STOMP-based messaging service with Spring.
|
|
|
+Congratulations! You've just developed a STOMP-based messaging service with Spring.
|
|
|
|
|
|
+== See Also
|
|
|
|
|
|
+The following guides may also be helpful:
|
|
|
|
|
|
+* https://spring.io/guides/gs/serving-web-content/[Serving Web Content with Spring MVC]
|
|
|
+* https://spring.io/guides/gs/spring-boot/[Building an Application with Spring Boot]
|
|
|
|
|
|
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/master/footer.adoc[]
|
|
|
-
|