Skip to content

beckje01/node-rabbitmq-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS RabbitMQ Example

Overview

An all node.js example of using RabbitMQ as a publish and subscribe.

Why

I found the documentation for consuming messages with node to be good, I found the producing side of things a bit tricky most examples used another backend to produce such as groovy or rails. So I wanted to have a simple node only example. I haven't done anything interesting on the consumer side but you could hook these items up with socketio or many other options.

Producer

A simple webserver that will push any items from the request url to a message queue set up for fanout.

Consumer

A consumer that will simply report to the console log when a message is received and the text of the message. You can add many consumers for the 1 producer.

About

Simple node based rabbitmq examples.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published