Interface StompTcpConnectionHandler<P>
- Type Parameters:
P
- the type of payload for inbound and outbound messages
- All Superinterfaces:
TcpConnectionHandler<P>
- All Known Subinterfaces:
ConnectionHandlingStompSession
- All Known Implementing Classes:
DefaultStompSession
A
TcpConnectionHandler
for use with STOMP connections, exposing
further information about the connection.- Since:
- 5.3
- Author:
- Rossen Stoyanchev
-
Method Summary
Modifier and TypeMethodDescriptionReturn the headers that will be sent in the STOMP CONNECT frame.Return thesessionId
associated with the STOMP connection.Methods inherited from interface org.springframework.messaging.tcp.TcpConnectionHandler
afterConnected, afterConnectFailure, afterConnectionClosed, handleFailure, handleMessage
-
Method Details
-
getSessionId
String getSessionId()Return thesessionId
associated with the STOMP connection. -
getConnectHeaders
StompHeaderAccessor getConnectHeaders()Return the headers that will be sent in the STOMP CONNECT frame.
-