Handling Session Events

Session events provide information about the state of a client connection to the event broker, including connection establishment, disconnection, and error conditions. Properly handling these events allows your application to respond appropriately to changes in connection status and maintain robust messaging operations.

Solace Messaging API for JavaScript and Node.js

When a session is created, the application must provide session event listeners for each important session events that are invoked each time an event occurs over the session.