Skip to content

PacomeRivier/rabbitmq-quickstart-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js code for RabbitMQ tutorials

Here you can find JavaScript (Node) code examples from RabbitMQ tutorials.

To successfully use the examples you will need a running RabbitMQ server.

Requirements

Node.js

You need Node.js and amqp.node to run these tutorials.

Client Library

To install amqp.node using npm:

npm install amqplib -g

Code

You must fill in the values in .env before running the code:

USERNAME=
PASSWORD=
SERVER_ADRESS=
EXCHANGE=
ROUTING_KEY=

Emitter

node src/emitter.js

Subscriber

node src/subscriber.js

About

Simple scripts for a quick start with RabbitMQ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors