Solace JavaScript API

The Solace Messaging API for JavaScript, version 10.18, allows web browsers and mobile client applications to send and receive messages with Solace event brokers.

The Solace JavaScript API shares the same asynchronous and non-blocking programming model as the Solace Python API, Solace Go API, and Solace Node.js API. However, the Solace JavaScript API is packaged differently and optimized for JavaScript.

The Solace JavaScript API supports the following Message Exchange Patterns:

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

Get Started

To get up to speed quickly developing applications using the Solace JavaScript API you may want to check out our JavaScript Tutorials.

Before you can start working with the Solace JavaScript API, you must have access to a Solace event broker to test and use your JavaScript application.

You can get started using a Solace event broker in any of these ways:

  • If you have an appliance event broker or software event broker already deployed, obtain
    • the hostname or IP address of an event broker to test against
    • a username and password to access it
    • a Message VPN in which you can produce and consume messages
  • You can set up a software event broker as a container image. For more information, see Setting Up Container Images
  • If you have Solace Cloud, you create a new event broker service. For more information, see Creating Event Broker Services.