[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Getting Started tutorials for the amqp10 Node.JS API with Solace Message Routers.

License

Notifications You must be signed in to change notification settings

SolaceSamples/solace-samples-amqp-nodejs

Repository files navigation

Getting Started Examples

Using Node.js over AMQP 1.0 with Solace Message Routers

The Advanced Message Queuing Protocol (AMQP) is an open standard application layer protocol for message-oriented middleware, and Solace Message Routers support AMQP 1.0.

In addition to information provided on the Solace Developer Portal, you may also look at external sources for more details about AMQP:

The "Getting Started" tutorials will get you up to speed and sending messages with Solace technology as quickly as possible. There are three ways you can get started:

  • Follow these instructions to quickly spin up a cloud-based Solace messaging service for your applications.
  • Follow these instructions to start the Solace VMR in leading Clouds, Container Platforms or Hypervisors. The tutorials outline where to download and how to install the Solace VMR.
  • 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.

Contents

This repository contains code and matching tutorial walkthroughs for different basic scenarios. It is best to view the associated 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-nodejs

AMQP 10 JavaScript Library

The AMQP 10 JavaScript library can be downloaded here. The instructions in this tutorial assume you have installed this library with npm.

$ npm install amqp10 -save

Running the Samples

The samples are found in the src directory.

You run the sample using node. For example:

$ node QueueConsumer.js amqp://<SOLACE_HOST>:<AMQP_PORT>

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:

Releases

No releases published

Packages

No packages published