Class WebSocketStompSessionManager
java.lang.Object
org.springframework.integration.stomp.AbstractStompSessionManager
org.springframework.integration.stomp.WebSocketStompSessionManager
- All Implemented Interfaces:
Aware
,BeanNameAware
,DisposableBean
,ApplicationEventPublisherAware
,Lifecycle
,Phased
,SmartLifecycle
,StompSessionManager
The
WebSocketStompClient
based AbstractStompSessionManager
implementation.- Since:
- 4.2
- Author:
- Artem Bilan, Sean Mills
- See Also:
-
Field Summary
Fields inherited from class org.springframework.integration.stomp.AbstractStompSessionManager
logger, stompClient
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
ConstructorDescriptionWebSocketStompSessionManager
(WebSocketStompClient webSocketStompClient, String url, Object... uriVariables) -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletableFuture<StompSession>
doConnect
(StompSessionHandler handler) void
setHandshakeHeaders
(WebSocketHttpHeaders handshakeHeaders) Methods inherited from class org.springframework.integration.stomp.AbstractStompSessionManager
connect, destroy, disconnect, getConnectHeaders, getPhase, getRecoveryInterval, isAutoReceiptEnabled, isAutoStartup, isConnected, isRunning, setApplicationEventPublisher, setAutoReceipt, setAutoStartup, setBeanName, setConnectHeaders, setPhase, setRecoveryInterval, start, stop, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.context.SmartLifecycle
stop
-
Constructor Details
-
WebSocketStompSessionManager
public WebSocketStompSessionManager(WebSocketStompClient webSocketStompClient, String url, Object... uriVariables)
-
-
Method Details
-
setHandshakeHeaders
-
doConnect
- Specified by:
doConnect
in classAbstractStompSessionManager
-