JavaScript API
The Solace JavaScript Messaging API allows web browsers and mobile client applications to send and receive messages with a Solace PubSub+ event broker.
Message Exchange Patterns
The JavaScript Messaging API supports all common message exchange patterns.
- Publish / Subscribe
- Point-to-Point
- Request / Reply
For more information, see Message Exchange Patterns.
Features
The JavaScript API 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
- Queue browsing
The JavaScript API doesn't support:
- Session Transactions and XA Transactions
- 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 Solace Messaging JavaScript APIs for messaging. There are three ways you can begin:
- If you have Solace 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.
- You can go through an Initial Set Up of a software event broker.
- You can spin up Solace PubSub+ Cloud.
JavaScript API Reference
Click below to access the API reference for the Solace JavaScript API.
JavaScript Release Notes
Click below to download the latest release notes for the Solace JavaScript API.