STOMP Over WebSocket service for Angular 2. Stable version 1.2.2, last released in 2017. No active development or recent updates. Provides a simple service to connect to STOMP brokers over WebSocket (including SockJS) in Angular 2 applications. Key differentiator: built for Angular 2 dependency injection and integrates with RxJS Observables. Now largely superseded by newer libraries and Angular versions.
npm install ng2-stomp-serviceNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Angular service configuration and basic subscribe/send example.
Migrate to a maintained library like @stomp/stompjs or angular-stomp.
Update to Angular compatible version or switch libraries.
Use lettable operators (pipe) with RxJS 6+.
Manually unsubscribe in ngOnDestroy.
Update to RxJS 5 or use pipeable operators and adjust import.
Add StompService to providers array in NgModule.
Ensure import is correct, and configure before calling startConnect.