Skip to content

dpauls/solace-samples-javascript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started Examples

Solace JavaScript API

These tutorials will get you up to speed and sending messages with Solace technology as quickly as possible. There are two ways you can get started:

  • If your company has Solace message routers deployed, contact your middleware team to obtain the host name or IP address of a Solace message router to test against, a username and password to access it, and a VPN in which you can produce and consume messages.
  • If you do not have access to a Solace message router, you will need to go through the “Set up a VMR” tutorial to download and install the software.

Contents

This repository contains code and matching tutorial walk throughs for five different basic Solace messaging patterns. For a nice introduction to the Solace API and associated tutorials, check out the tutorials home page.

Checking out and Building

To check out the project and build it, do the following:

  1. clone this GitHub repository
  2. cd solace-samples-javascript

Download the Solace JavaScript API

The Solace JavaScript API library can be downloaded here. The instructions in this tutorial assume you have downloaded the Web Messaging API for JavaScript library and unpacked it to a known location. The samples assume a lib subdirectory within each samples directory. For example src/TopicPublisher/lib.

Running the Samples

The samples are found in the src directory. Each sample is in it's own subdirectory. Within each sample subdirectory there is an html file which you load to launch the sample.

For example the TopicPublisher is found here:

src/TopicPublisher

And it is launched by running the following in your browser:

TopicPublisher.html

See the tutorials for more details.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See the list of contributors who participated in this project.

License

This project is licensed under the Apache License, Version 2.0. - See the LICENSE file for details.

Resources

For more information try these resources:

About

Getting Started Samples for the Solace JavaScript API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.1%
  • HTML 29.9%