|
|
|
|
@ -19,13 +19,8 @@ package org.springframework.docs.web.websocket.stomp.websocketstompmessageflow;
@@ -19,13 +19,8 @@ package org.springframework.docs.web.websocket.stomp.websocketstompmessageflow;
|
|
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
|
|
import org.springframework.context.annotation.Configuration; |
|
|
|
|
import org.springframework.messaging.handler.annotation.MessageMapping; |
|
|
|
|
import org.springframework.messaging.simp.config.MessageBrokerRegistry; |
|
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
|
import org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker; |
|
|
|
|
import org.springframework.web.socket.config.annotation.StompEndpointRegistry; |
|
|
|
|
import org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer; |
|
|
|
|
|
|
|
|
|
// tag::snippet[]
|
|
|
|
|
@Controller |
|
|
|
|
|