Start with RabbitMQ and NodeJs
Device - Mac
Steps
- Install RabbitMQ using
brew install rabbitmq
- Start RabbitMQ using
brew services start rabbitmq
- Go to
http://localhost:15672/
and give idguest
and passwordguest
to log in - Create a directory and init npm and enable it using
npm init -y
- Install
amqplib
usingnpm install amqplib
- Run the
sender.js
to send andreceiver.js
to consume the message usingnode sender.js