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
public class WebSocketStompSessionManager extends AbstractStompSessionManager
The
WebSocketStompClient based AbstractStompSessionManager implementation.- Since:
- 4.2
- Author:
- Artem Bilan, Sean Mills
- See Also:
WebSocketStompClient
-
Field Summary
Fields inherited from class org.springframework.integration.stomp.AbstractStompSessionManager
logger, stompClient -
Constructor Summary
Constructors Constructor Description WebSocketStompSessionManager(WebSocketStompClient webSocketStompClient, String url, Object... uriVariables) -
Method Summary
Modifier and Type Method Description protected ListenableFuture<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, toString
-
Constructor Details
-
WebSocketStompSessionManager
public WebSocketStompSessionManager(WebSocketStompClient webSocketStompClient, String url, Object... uriVariables)
-
-
Method Details
-
setHandshakeHeaders
-
doConnect
- Specified by:
doConnectin classAbstractStompSessionManager
-