/RabbitMQ-to-NodeJS-Websocket

a demostrative code showing how connect a RabbitMQ queue with websocket for bidireccional communication

Primary LanguageJavaScript

Example code about bidirectional communication between rabbitMQ Queue and Websockets

This is a demostration about how achieve a bidireccional communication with rabbitMQ and websockets, default rabbitMQ queue is named tasks but you can change this using an environment variable WSTOAMQQUEUE

Code updated using Async await :D






DIAGRAM

enter image description here

Written with StackEdit.