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, stompClientFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsConstructorDescriptionWebSocketStompSessionManager(WebSocketStompClient webSocketStompClient, String url, Object... uriVariables) -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletableFuture<StompSession>doConnect(StompSessionHandler handler) voidsetHandshakeHeaders(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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
doConnectin classAbstractStompSessionManager
-