I am trying to create Java WebSocket client (STOMP + sockJs) following this sample. But I am not able to find maven/gradle dependency for
org.springframework.web.socket.messaging.WebSocketStompClient
Even maven search did not give any results.
After some searching I found that this is a part of
4.2.0.BUILD-SNAPSHOT
and the javadoc for this class is here.
I have tried to import
org.springframework:spring-messaging:4.2.0.BUILD-SNAPSHOT
and
org.springframework:spring-web:4.2.0.BUILD-SNAPSHOT
But I was not able to import this class. I want to know if it is possible to import the 4.2.0.BUILd-SNAPSHOT from gradle.
If it is possible how do I know which spring module (like spring-web / spring-messaging) from the javadoc?
EDIT : am I correct in assuming that it is part of 4.2.0 from the Javadoc URL?