Node.js API

The Solace PubSub+ Messaging API for Node.js (version 10.9) can be used in cloud-based, enterprise scale server applications. The Node.js and JavaScript APIs from Solace share the same asynchronous and non-blocking programming model, but are packaged differently, and optimized for their respective target environments.

Message Exchange Patterns

The SolacePubSub+ Messaging API for Node.js supports all common message exchange patterns.

  • Publish / Subscribe
  • Point-to-Point
  • Request / Reply

For more information, see Message Exchange Patterns.


The SolacePubSub+ Messaging API for Node.js supports:

  • Connection management to Solace PubSub+ event brokers
  • Addition and removal of topic subscriptions
  • Sending and receiving Direct and Guaranteed messages
  • Structured data types that allow interoperability between various architectures and programming languages
  • Request / Reply messaging support
  • PubSub+ Cache Client API support
  • Message Replay
  • OAuth 2.0 Authentication

The Node.js API does not support:

  • Session Transactions and XA Transactions
  • Queue browsing
  • Provisioning of durable endpoints
  • Topic dispatch
  • Message compression
  • Kerberos authentication
  • Use of Selectors

Get Started

Tutorials are provided to help you quickly get up to speed developing applications using the SolacePubSub+ Messaging API for Node.js.

There are three ways you can get started using a PubSub+ event broker:

  1. If you have PubSub+ event brokers already deployed, obtain the hostname, or IP address, of an event broker to test against, a username and password to access it, and a Message VPN in which you can produce and consume messages.
  2. You can set up a software event broker as a container or machine image. For more information, see one of the following:
  3. You can spin up and event broker service, which is a SaaS-based software event broker running in PubSub+ Cloud.

Start Tutorials

Node.js API Reference

Click below to access the API Reference Help for the SolacePubSub+ Messaging API for Node.js.

Node.js Reference

Node.js Release Notes

Click below to download the latest release notes for the SolacePubSub+ Messaging API for Node.js.

Node.js API Release Notes