Connecting RabbitMQ with Node JS

Written by programming | Published 2020/04/01
Tech Story Tags: message-queue | nodejs | mq | rabbitmq | javascript | real-time-communication | beginners | coding

TLDR RabbitMQ is a message broker that accepts and forwards messages. A queue is the name for a post box which lives inside RabbitMQ. In this part of the tutorial we’ll write two small programs in Javascript; a producer that sends a single message, and a consumer that receives messages and prints them out. Express framework is used for routing the API for posting the data from RabbitMQ's postman. We can also create a queue from code. The queue should be ready in seconds.via the TL;DR App

no story

Written by programming | Senior Full Stack
Published by HackerNoon on 2020/04/01