I found it surprising that the current documentation for the Spring WebSocket Support directs users to use stomp.js for their client-side JavaScript implementation.
This project, on the ReadMe on it's GitHub page, says:
This project is no longer maintained.
If you encounter bugs with it or need enhancements, you can fork it and modify it as the project is under the Apache License 2.0.
The repository hasn't had any commits since September 2015 (which was just to add the above to the ReadMe), and no code commits since December 2014, so it has effectively been abandoned for the past 2 years.
I am unsure which of the 284 forks of the repository would be a stable and up-to-date version of the library, and there seems to be no viable alternative from a Google search.
Could someone please recommend a stable alternative that could be used instead?
Ideally my hope is the Spring team could provide some direction about the right client library to use with their STOMP support.
I've been wondering about this as well, but haven't been able to find anything concrete. The closest I've come across has been webstomp-client
:
https://github.com/JSteunou/webstomp-client
It claims to be a fork of the original stomp.js
, and it looks like it's actively maintained.
Unrelated to the question, but related to what I've been working on recently, I also found a fork of webstomp-client
that implements an RxJS client as well; posting some links in case it's useful to someone in the future.
https://github.com/Clanrat/webstomp-client
https://github.com/Clanrat/webstomp-client/blob/master/src/rxclient.js