Spring/기타 여러가지
STOMP
doriver
2025. 1. 30. 00:18
you can expose a STOMP endpoint over WebSocket
Once a STOMP endpoint is exposed, the Spring application becomes a STOMP broker for connected clients.
once a WebSocket connection is established, STOMP frames begin to flow on it

| clientInboundChannel | For passing messages received from WebSocket clients |
| clientOutboundChannel | For sending server messages to WebSocket clients |
| brokerChannel | For sending messages to the message broker from within server-side application code |
https://docs.spring.io/spring-framework/reference/web/websocket/stomp/message-flow.html
Flow of Messages :: Spring Framework
Both the Java configuration (that is, @EnableWebSocketMessageBroker) and the XML namespace configuration (that is, ) use the preceding components to assemble a message workflow. The following diagram shows the components used when the simple built-in messa
docs.spring.io