node.js Alternate Configurations

Deprecation Warning

Older versions of this library required different mechanism to instantiate the Client object in nodejs than Web Browsers. In recent versions that is no longer the case. Please refer Usage for suggested way to use Stomp JS.

If you are already using one of the techniques mentioned in this page and will like to upgrade please refer to Upgrade.

Code for these methods are not actively maintained. These have some known issues that can hang the node environment on certain types connectivity failures.

Stomp.overTCP

This connects over STOMP protocol, unlike other methods in this library which connect using STOMP over WebSocket.

Stomp.overWS

What Next

Apart from this initialization, the STOMP API remains the same. Please refer to Usage.

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: