Skip to content

TuanMinPay/Nodejs-RabbitMQ-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nodejs-RabbitMQ-Example

Nodejs + RabbitMQ Example

Run the following command to start RabbitMQ using Docker:
docker run --name rabbitmq -p 5672:5672 rabbitmq

Docker will create a RabbitMQ server from the RabbitMQ image with default port 5672.

Run the following command to install the dependencies:
npm install
Run the following command to start the publisher:
node publisher.js
Run the following command to start the consumer:
node consumer.js

Done!

About

Nodejs + RabbitMQ Example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published